Bug 1710 - Examples crash when run like this: ./test.py -e example-name
authorMitch Watrous <watrous@u.washington.edu>
Thu, 20 Jun 2013 10:23:10 -0700
changeset 9852 78f437d03c3c
parent 9851 33cfe647ba55
child 9853 5048f46bddd3
Bug 1710 - Examples crash when run like this: ./test.py -e example-name
test.py
--- a/test.py	Wed Jun 19 13:55:49 2013 -0700
+++ b/test.py	Thu Jun 20 10:23:10 2013 -0700
@@ -1455,6 +1455,7 @@
             # irrespective of any condition.
             #
             example_path = ns3_runnable_programs_dictionary[example_name]
+            example_path = os.path.abspath(example_path)
             job = Job()
             job.set_is_example(True)
             job.set_is_pyexample(False)