systemc: Get rid of --working-dir in the test's config.py.
authorGabe Black <gabeblack@google.com>
Thu, 21 Feb 2019 00:43:44 +0000 (16:43 -0800)
committerGabe Black <gabeblack@google.com>
Mon, 25 Feb 2019 23:10:18 +0000 (23:10 +0000)
This option is no longer used and isn't needed.

Change-Id: Iec1e2799b4f8c9ea258614323d55941b55828d27
Reviewed-on: https://gem5-review.googlesource.com/c/16565
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>

src/systemc/tests/config.py

index cd7c29e53ad34d29c3a8c0fb55fbbfba10266cb7..04d974b7befd71723d9a68d5d29318b5a4f34816 100755 (executable)
@@ -40,13 +40,6 @@ from m5.objects import SystemC_Kernel, Root
 kernel = SystemC_Kernel()
 root = Root(full_system=True, systemc_kernel=kernel)
 
-parser = argparse.ArgumentParser()
-parser.add_argument('--working-dir')
-
-args = parser.parse_args()
-if args.working_dir:
-    os.chdir(args.working_dir)
-
 m5.systemc.sc_main('gem5_systemc_test');
 
 m5.instantiate(None)