We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e10c5ca commit 0b5de12Copy full SHA for 0b5de12
.github/workflows/action.yml
@@ -42,6 +42,10 @@ jobs:
42
- name: Launch "make tests_run"
43
run: make tests_run
44
timeout-minutes: 2
45
+ - name: Check test references
46
+ run: |
47
+ ./tester.sh > current_test
48
+ ./check_test.sh current_test
49
- name: Check repository size
50
run: |
51
make fclean
check_reference.sh
@@ -0,0 +1,19 @@
1
+#!/bin/bash
2
+
3
+if [ "$#" -ne 1 ]; then
4
+ echo "Usage: $0 <fichier>"
5
+ exit 1
6
+fi
7
8
+input_file="$1"
9
10
+if [ ! -f "$input_file" ]; then
11
+ echo "Erreur: fichier non trouvé"
12
13
14
15
+sed -i -E 's/ - .*\.out/.out/g' "$input_file"
16
+sed -i -E 's/\.out//g' "$input_file"
17
+sed -i -E 's/Result:.*//g' "$input_file"
18
19
+diff test_reference "$input_file"
0 commit comments