def run_tests(self, runner): binary = wrapping.wrap_dynamic( self, "lnt_runner", name_filters=LNTGroup.NAME_FILTERS) runner( self.lnt["runtest", "nt", "-v", "-j1", "--sandbox", self.sandbox_dir, "--benchmarking-only", "--cc", str(self.clang), "--cxx", str(self.clang_cxx), "--test-suite", self.test_suite_dir, "--test-style", "simple", "--test-externals", self.builddir, "--make-param=RUNUNDER=" + str(binary), "--only-test=" + self.SUBDIR]) LNTGroup.after_run_tests(self.sandbox_dir)
def run_tests(self, experiment, run): exp = wrap_dynamic(self, "lnt_runner", experiment) lnt = local[path.join("local", "bin", "lnt")] sandbox_dir = path.join(self.builddir, "run") clang = lt_clang(self.cflags, self.ldflags, self.compiler_extension) clang_cxx = lt_clang_cxx(self.cflags, self.ldflags, self.compiler_extension) run(lnt["runtest", "nt", "-v", "-j1", "--sandbox", sandbox_dir, "--cc", str(clang), "--cxx", str(clang_cxx), "--test-suite", path.join(self.builddir, self.test_suite_dir), "--test-style", "simple", "--make-param=RUNUNDER=" + str(exp), "--only-test=" + path.join("MultiSource", "Applications")])
def test_create(self): with local.cwd(self.tmp_dir): cmd = wrappers.wrap_dynamic(EmptyProject(empty.Empty()), self.tmp_script) self.assertTrue(os.path.exists(str(cmd)))
def test_create(self): with local.cwd(self.tmp_dir): cmd = wrappers.wrap_dynamic( EmptyProject(empty.Empty()), self.tmp_script) self.assertTrue(os.path.exists(str(cmd)))