summaryrefslogtreecommitdiffstats
path: root/test/ninja/mkdir_function_command.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/ninja/mkdir_function_command.py')
-rw-r--r--test/ninja/mkdir_function_command.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/ninja/mkdir_function_command.py b/test/ninja/mkdir_function_command.py
index 8a17623..c01cb98 100644
--- a/test/ninja/mkdir_function_command.py
+++ b/test/ninja/mkdir_function_command.py
@@ -37,12 +37,7 @@ except ImportError:
_python_ = TestSCons._python_
_exe = TestSCons._exe
-ninja_bin = os.path.abspath(os.path.join(
- ninja.__file__,
- os.pardir,
- 'data',
- 'bin',
- 'ninja' + _exe))
+ninja_bin = test.ninja_binary()
test.write('SConstruct', """
SetOption('experimental','ninja')