|
|
|
@ -583,7 +583,10 @@ int dummy; |
|
|
|
|
valgrind = environment.find_valgrind() |
|
|
|
|
script_root = self.environment.get_script_dir() |
|
|
|
|
test_data = os.path.join(self.environment.get_scratch_dir(), 'meson_test_setup.dat') |
|
|
|
|
cmd = [sys.executable, self.environment.get_build_command(), '--internal', 'test', test_data] |
|
|
|
|
cmd = [ sys.executable, self.environment.get_build_command(), '--internal', 'test' ] |
|
|
|
|
if not self.environment.coredata.get_builtin_option('stdsplit'): |
|
|
|
|
cmd += ['--no-stdsplit'] |
|
|
|
|
cmd += [ test_data ] |
|
|
|
|
elem = NinjaBuildElement(self.all_outputs, 'test', 'CUSTOM_COMMAND', ['all', 'PHONY']) |
|
|
|
|
elem.add_item('COMMAND', cmd) |
|
|
|
|
elem.add_item('DESC', 'Running all tests.') |
|
|
|
|