Commit 1d9b83bb authored by Jan Kiene's avatar Jan Kiene
Browse files

remove env var handling

in template, call the script before copying to TESTV_DIR instead
this way both dirs get the new files and the template works for the
selftest variants as well
parent e651a9cb
Loading
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -42,9 +42,6 @@ FS = [48, 32, 16]

# scripts/testv/ path
input_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'testv')
if 'TESTV_DIR' in os.environ:
    output_dir = os.environ['TESTV_DIR']
else:
output_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'testv')

print(f'Writing new files into {output_dir}')