parent
acb65be215
commit
795fa244e1
|
@ -1246,15 +1246,13 @@ _edje_embryo_test_run(Edje *ed, char *fname, char *sig, char *src)
|
|||
embryo_parameter_string_push(ed->collection->script, src);
|
||||
pdata = embryo_program_data_get(ed->collection->script);
|
||||
embryo_program_data_set(ed->collection->script, ed);
|
||||
err = embryo_program_run(ed->collection->script, fn);
|
||||
|
||||
if (err != EMBRYO_ERROR_NONE)
|
||||
if (!embryo_program_run(ed->collection->script, fn))
|
||||
{
|
||||
printf("EDJE: ERROR with embryo script.\n"
|
||||
"FUNCTION: %s\n"
|
||||
"ERROR: %s\n",
|
||||
fname,
|
||||
embryo_error_string_get(err));
|
||||
embryo_error_string_get(embryo_program_error_get(ed->collection->script)));
|
||||
}
|
||||
embryo_program_data_set(ed->collection->script, pdata);
|
||||
printf("EDJE DEBUG: Done.\n");
|
||||
|
|
Loading…
Reference in New Issue