mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-22 11:23:29 +01:00
Fixed compile benchmark script
Now it no longer attempts to enter a directory before creating it...
This commit is contained in:
parent
cd6de9cd34
commit
fd6c7aee6d
@ -124,9 +124,9 @@ args = parser.parse_args()
|
||||
compiler_path = args.compiler
|
||||
catch_path = args.catch_header
|
||||
|
||||
os.chdir(dir_name)
|
||||
if args.generate_files:
|
||||
create_temp_dir()
|
||||
os.chdir(dir_name)
|
||||
copy_catch(catch_path)
|
||||
# now create the fake test files
|
||||
generate_files()
|
||||
@ -134,6 +134,8 @@ if args.generate_files:
|
||||
print('Finished generating files')
|
||||
exit(1)
|
||||
|
||||
os.chdir(dir_name)
|
||||
|
||||
if args.flags:
|
||||
flags = args.flags
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user