You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print(bcolors.OKBLUE+f"\nTotal tested: {total} ({ok} correct and {failed} failed)"+bcolors.ENDC)
100
+
print(colored(f"\nTotal tested: {total} ({ok} correct and {failed} failed)", bcolors.OKBLUE))
92
101
93
102
94
103
if__name__=="__main__":
95
104
parser=argparse.ArgumentParser(description='Tests a Compiler for a Language by running all the tests residing in a Test Directory.'
96
105
' Compiler should be an executable or script that takes as input a program of the language and creates an a.out executable in the directory where this test driver resides.')
97
-
parser.add_argument('language', help='Currently one of: \'alan\', \'grace\'or \'llama\'.')
106
+
parser.add_argument('language', help='Currently one of: \'alan\', \'dana\', \'grace\', \'llama\'or \'pcl\'.')
98
107
parser.add_argument('compiler_path', help='The path to the compiler executable.')
99
108
parser.add_argument('test_dir', help='The directory containing the test programs, .result outputs expected for each program and .input files to be used as stdin for each program if needed.')
0 commit comments