mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-24 06:43:01 +00:00
lib: Rename IGT_QUICK to INTEL_SIMULATION
It's more accurate this way as the quick mode is really useful for in
the simulation environment.
v2: Use the INTEL_ prefix to have a chance to share the same environment
variable as piglit OpenGL tests
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
+5
-5
@@ -699,14 +699,14 @@ static bool env_set(const char *env_var)
|
||||
return atoi(val) != 0;
|
||||
}
|
||||
|
||||
bool drmtest_run_quick(void)
|
||||
bool drmtest_run_in_simulation(void)
|
||||
{
|
||||
static int run_quick = -1;
|
||||
static int simulation = -1;
|
||||
|
||||
if (run_quick == -1)
|
||||
run_quick = env_set("IGT_QUICK");
|
||||
if (simulation == -1)
|
||||
simulation = env_set("INTEL_SIMULATION");
|
||||
|
||||
return run_quick;
|
||||
return simulation;
|
||||
}
|
||||
|
||||
/* other helpers */
|
||||
|
||||
Reference in New Issue
Block a user