Merge pull request #161 from SamTebbs33/bugfix/rt-test-arch
Set arch in rt-test.py
This commit is contained in:
commit
de1c87e040
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ if __name__ == "__main__":
|
||||||
cases = get_pre_archinit_cases() + arch_module.get_test_cases(TestCase) + get_post_archinit_cases()
|
cases = get_pre_archinit_cases() + arch_module.get_test_cases(TestCase) + get_post_archinit_cases()
|
||||||
|
|
||||||
if len(cases) > 0:
|
if len(cases) > 0:
|
||||||
proc = subprocess.Popen(zig_path + " build run -Drt-test=true", stdout=subprocess.PIPE, shell=True, preexec_fn=os.setsid)
|
proc = subprocess.Popen(zig_path + " build run -Drt-test=true -Darch=" + arch, stdout=subprocess.PIPE, shell=True, preexec_fn=os.setsid)
|
||||||
atexit.register(cleanup)
|
atexit.register(cleanup)
|
||||||
case_idx = 0
|
case_idx = 0
|
||||||
read_thread = threading.Thread(target=read_messages, args=(proc,))
|
read_thread = threading.Thread(target=read_messages, args=(proc,))
|
||||||
|
|
Loading…
Reference in a new issue