first
This commit is contained in:
22
extras/tests/simavr_based/judge_pos0.awk
Normal file
22
extras/tests/simavr_based/judge_pos0.awk
Normal file
@@ -0,0 +1,22 @@
|
||||
BEGIN {
|
||||
ok = 0
|
||||
}
|
||||
|
||||
FNR == NR {
|
||||
# result.txt
|
||||
lines[FNR] = $0
|
||||
}
|
||||
|
||||
/^Position\[A\]/ {
|
||||
print
|
||||
}
|
||||
$0 == "Position[A]=0" {
|
||||
ok = 1
|
||||
}
|
||||
|
||||
END {
|
||||
if (ok == 1) {
|
||||
print("PASS")
|
||||
print("PASS") > ".tested"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user