1. Matthew Turk
  2. enzo-dev

Commits

Britton Smith  committed 8b205f6

Executable is now copied once to the top level of the testing
directory and symlink to that for the individual tests.

  • Participants
  • Parent commits 1164a74
  • Branches week-of-code

Comments (0)

Files changed (1)

File run/test_runner.py

View file
         go_start_time = time.time()
         self.output_dir = output_dir
         total_tests = len(self.tests)
+
+        # copy executable to top of testing directory
+        shutil.copy(exe_path, output_dir)
+        exe_path = os.path.join(output_dir, os.path.basename(exe_path))
+        
         if interleaved:
             for i, my_test in enumerate(self.tests):
                 print "Preparing test: %s." % my_test['name']