don't require E_START env var to be set when running on valgrind

make manually valgrinding easier
devs/discomfitor/quicklaunch
Mike Blumenkrantz 5 years ago
parent 1106bbde50
commit ed361340d7
  1. 4
      src/bin/e_main.c
  2. 3
      src/bin/meson.build
  3. 6644
      src/bin/valgrind.h

@ -3,6 +3,8 @@
# include <sys/prctl.h>
#endif
#include "valgrind.h"
#define MAX_LEVEL 80
#define TS_DO
@ -1283,7 +1285,7 @@ _e_main_parse_arguments(int argc, char **argv)
/* we want to have been launched by enlightenment_start. there is a very */
/* good reason we want to have been launched this way, thus check */
if (!getenv("E_START"))
if ((!getenv("E_START")) && (!RUNNING_ON_VALGRIND))
{
e_error_message_show(_("You are executing enlightenment directly. This is\n"
"bad. Please do not execute the \"enlightenment\"\n"

@ -225,7 +225,8 @@ src = [
'efx/efx_rotate.c',
'efx/efx_spin.c',
'efx/efx_util.c',
'efx/efx_zoom.c'
'efx/efx_zoom.c',
'valgrind.h'
]
hdr = [

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save