Destination directory is not needed during simulation

Shots are not needed in this mode too.
This commit is contained in:
Daniel Zaoui 2016-10-10 10:42:23 +03:00
parent 0eb607e7df
commit 33730b5dcd
2 changed files with 6 additions and 4 deletions

View File

@ -31,8 +31,6 @@ _run_command_prepare(const List_Entry *ent, Run_Mode mode, char *buf)
{ {
case RUN_SIMULATION: case RUN_SIMULATION:
{ {
eina_strbuf_append_printf(sbuf, "TSUITE_DEST_DIR='%s' ",
exactness_config.dest_dir);
break; break;
} }
case RUN_PLAY: case RUN_PLAY:
@ -55,6 +53,7 @@ _run_command_prepare(const List_Entry *ent, Run_Mode mode, char *buf)
exactness_config.dest_dir); exactness_config.dest_dir);
break; break;
} }
default: break;
} }
eina_strbuf_append_printf(sbuf, "LD_PRELOAD='%s/exactness/libexactness_%s.so' %s %s %s", eina_strbuf_append_printf(sbuf, "LD_PRELOAD='%s/exactness/libexactness_%s.so' %s %s %s",
PACKAGE_LIBDIR, mode == RUN_RECORD ? "recorder" : "player", PACKAGE_LIBDIR, mode == RUN_RECORD ? "recorder" : "player",

View File

@ -459,8 +459,11 @@ tsuite_feed_event(void *data)
printf("%s take shot timestamp=<%u> t->n_evas=<%d>\n", __func__, t->timestamp, t->n_evas); printf("%s take shot timestamp=<%u> t->n_evas=<%d>\n", __func__, t->timestamp, t->n_evas);
#endif #endif
if (rect) evas_object_color_set(rect, 0, 0, 255, 255); if (rect) evas_object_color_set(rect, 0, 0, 255, 255);
_shot_do(NULL, if (_hook_setting->dest_dir)
eina_list_nth(evas_list, t->n_evas)); /* Serial name based on test-name */ {
_shot_do(NULL,
eina_list_nth(evas_list, t->n_evas)); /* Serial name based on test-name */
}
break; break;
} }
default: /* All non-input events are not handeled */ default: /* All non-input events are not handeled */