mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/Tasty.git
synced 2025-12-16 18:48:02 +00:00
Finished run.py implementation, removed test case 7.
This commit is contained in:
4
run.py
4
run.py
@@ -31,14 +31,14 @@ for case in os.listdir(path):
|
||||
print(colored(f'Building case { number }...', 'blue'))
|
||||
|
||||
# Build the new project and upload it to the STM32.
|
||||
out = subprocess.run([r'Tasty\flash.bat', case])
|
||||
out = subprocess.run([r'Tasty\flash.bat', 'TACOS_DEV'], stdout = subprocess.DEVNULL)
|
||||
|
||||
# Check if the bash script was successfully executed.
|
||||
if out.returncode != 0:
|
||||
print('Building\t' + colored('[FAILED]', 'red'))
|
||||
continue
|
||||
else:
|
||||
print('Building\t' + colored('[PASSED]', 'red'))
|
||||
print('Building\t' + colored('[PASSED]', 'green'))
|
||||
|
||||
print(colored(f'Running case { number }...', 'blue'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user