only extract card errors

master
melvinzhang 2015-01-21 12:51:05 +08:00
parent c110a98260
commit c07cf5186e
1 changed files with 1 additions and 1 deletions

View File

@ -742,7 +742,7 @@ parse_new.txt:
cp release/Magarena/scripts_missing/* release/Magarena/scripts
-rm 101.out
make debug
grep ERROR 101.out | sed 's/java.lang.RuntimeException: //' | sed 's/\(ERROR.*\) \(cause: .*\)/\2 \1/' | sort > parse_missing.txt
grep "ERROR " 101.out | sed 's/java.lang.RuntimeException: //' | sed 's/\(ERROR.*\) \(cause: .*\)/\2 \1/' | sort > parse_missing.txt
grep OK 101.out | sed 's/OK card: //' | sort > parse_ok.txt
git clean -qf release/Magarena/scripts
patch -p1 -R < parse_missing.patch