Suite: fix scale issues

Summary:
Because the environment variables were set on the player and not on the
application, they were not affecting the application, leading to issues
when the EFL configuration scaling is different of 1.0.
By appending them right before the application name, they are taken in
consideration, fixing the issue.

Reviewers: jsuya, YOhoho

Reviewed By: jsuya

Differential Revision: https://phab.enlightenment.org/D7388
master
Daniel Zaoui 4 years ago
parent ede4ff100e
commit 82c93f8714
  1. 7
      src/bin/exactness.c

@ -212,7 +212,7 @@ found:
printf("STATUS %s: END - FAIL (%d/%d)\n", ent->name, nb_fails, n - 1);
}
#define CONFIG "ELM_SCALE=1 ELM_FINGER_SIZE=10"
#define CONFIG "ELM_SCALE=1 ELM_FINGER_SIZE=10 "
static Eina_Bool
_run_command_prepare(const List_Entry *ent, char *buf)
{
@ -239,8 +239,8 @@ ok:
sbuf = eina_strbuf_new();
printf("STATUS %s: START\n", ent->name);
eina_strbuf_append_printf(sbuf,
"%s %s exactness_play %s %s%s %s%.*s %s%s%s-t '%s' ",
CONFIG, _wrap_command ? _wrap_command : "",
"%s exactness_play %s %s%s %s%.*s %s%s%s-t '%s' ",
_wrap_command ? _wrap_command : "",
_mode == RUN_SIMULATION ? "-s" : "",
_fonts_dir ? "-f " : "", _fonts_dir ? _fonts_dir : "",
_verbose ? "-" : "", _verbose, "vvvvvvvvvv",
@ -266,6 +266,7 @@ ok:
if (ent->command)
{
eina_strbuf_append(sbuf, "-- ");
eina_strbuf_append(sbuf, CONFIG);
eina_strbuf_append(sbuf, ent->command);
}
strncpy(buf, eina_strbuf_string_get(sbuf), SCHEDULER_CMD_SIZE-1);

Loading…
Cancel
Save