forked from enlightenment/enlightenment
don't require E_START env var to be set when running on valgrind
make manually valgrinding easier
This commit is contained in:
parent
1106bbde50
commit
ed361340d7
|
@ -3,6 +3,8 @@
|
||||||
# include <sys/prctl.h>
|
# include <sys/prctl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "valgrind.h"
|
||||||
|
|
||||||
#define MAX_LEVEL 80
|
#define MAX_LEVEL 80
|
||||||
|
|
||||||
#define TS_DO
|
#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 */
|
/* 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 */
|
/* 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"
|
e_error_message_show(_("You are executing enlightenment directly. This is\n"
|
||||||
"bad. Please do not execute the \"enlightenment\"\n"
|
"bad. Please do not execute the \"enlightenment\"\n"
|
||||||
|
|
|
@ -225,7 +225,8 @@ src = [
|
||||||
'efx/efx_rotate.c',
|
'efx/efx_rotate.c',
|
||||||
'efx/efx_spin.c',
|
'efx/efx_spin.c',
|
||||||
'efx/efx_util.c',
|
'efx/efx_util.c',
|
||||||
'efx/efx_zoom.c'
|
'efx/efx_zoom.c',
|
||||||
|
'valgrind.h'
|
||||||
]
|
]
|
||||||
|
|
||||||
hdr = [
|
hdr = [
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue