@@ -71,7 +71,7 @@ def check_task_2():
7171
7272 points = 0
7373 valgrind_pass = True
74- os .system ("chmod +x tema3 " )
74+ os .system ("chmod +x ac-sql " )
7575
7676 print ("TASK 2" )
7777 print ("----------------" )
@@ -89,7 +89,7 @@ def check_task_2():
8989 ref_test = "../tests/ref/" + database .split ("." )[0 ] + "." + test .split ("." )[0 ] + ".ref"
9090
9191 with open (input_test , 'r' ) as f :
92- result = subprocess .run (['./tema3 ' , '../tests/db/' + database ], stdin = f , capture_output = True , text = True )
92+ result = subprocess .run (['./ac-sql ' , '../tests/db/' + database ], stdin = f , capture_output = True , text = True )
9393
9494 if result .returncode != 0 :
9595 print ("Eroare de rulare! Posibil segmentation fault." )
@@ -107,7 +107,7 @@ def check_task_2():
107107 else :
108108 print (f"{ test } - OK" )
109109 points += 3.5
110- valgrind_pass &= check_valgrind ("tema3 " , database , input_test )
110+ valgrind_pass &= check_valgrind ("ac-sql " , database , input_test )
111111 print ("----------------" )
112112 if not valgrind_pass :
113113 print ("Depunctare pentru memory leaks. -10 puncte" )
@@ -252,7 +252,7 @@ def main():
252252 points += check_coding_style ()
253253 print ()
254254 print ("PUNCTAJ FINAL: " + str (points ))
255- os .system ("rm -f tema3 " )
255+ os .system ("rm -f ac-sql " )
256256
257257if __name__ == "__main__" :
258258 main ()
0 commit comments