Skip to content
Permalink
Browse files

Fixed a bug in run-sparql-syntax-tests.sh that caused the creation of…

… file tests/-inf
  • Loading branch information...
Esko Nuutila Esko Nuutila
Esko Nuutila authored and Esko Nuutila committed Dec 27, 2013
1 parent 1647d4c commit 91318842c0a1eb31b408772d079d12d036cc5228
Showing with 19 additions and 9 deletions.
  1. +1 −0 .gitignore
  2. +9 −0 diffing
  3. +1 −3 scripts/run-sparql-syntax-tests.sh
  4. +4 −2 src/STACK
  5. +4 −4 tests/syntax-test-results/index.html
@@ -15,3 +15,4 @@ MKHTML_LOG
bin/instans.bin
bin/sbcl-instans.core
tests/log
tests/syntax-test-results/index.html.prev
@@ -0,0 +1,9 @@
ddd () {
diff -b instans/src/$1 spare-instans/src/$1
}
drq () {
diff -rq spare-instans/src instans/src |grep .lisp |sed '/spare-instans\/src\//s///'|sed '/and instans[^ ]* /s///'|sed '/Files /s///'|sed '/ differ/s///'
}
ccc () {
diff -b instans/src/$1 spare-instans/src/$1|egrep -v '(---)'|egrep -v '^[0-9]*c[0-9]*$'|wc -l
}
@@ -1,4 +1,5 @@
#!/bin/sh
CNT=0
cd `dirname $0`/.. > /dev/null
ROOT=`pwd`
BIN=${ROOT}/bin
@@ -81,12 +82,9 @@ AWK=$$-syntax-test-filter.awk
touch $AWK
INVALID_TESTS=invalid-sparql-tests
#echo "INVALID_TESTS" = `pwd`/$INVALID_TESTS
LOG=log
touch $LOG
if test -f $INVALID_TESTS; then
cat >> $AWK <<EOF
function is_invalid_test(name) {
printf "is_invalid_test(%s): grep --silent %s $INVALID_TESTS", name, name >> $LOG
return (system(sprintf("grep --silent %s $INVALID_TESTS", name)) == 0);
}
EOF
@@ -8,5 +8,7 @@
- Make triple input processors
- Change the parser to be able to yield in between parsing
- Take care that the result stack is kept OK.
- Change sparql-parser and turtle-parser to use define-ll1-parser

- Complete parser resume/suspend
- Check that the parser correctly continues, e.g., by making turtle parser yielding whenever it emits.
- Hunt down the bug that generates tests/-inf
+ Is not produced by actual running the tests by sbcl
@@ -844,10 +844,10 @@
<tbody>
</table>
<hr/>
<p>Total 789 tests (previously 0)
<ul><li>675 tests OK (previously 0)</li>
<li>114 positive tests failed (previously 0)</li>
<p>Total 789 tests (previously 789)
<ul><li>675 tests OK (previously 675)</li>
<li>114 positive tests failed (previously 114)</li>
<li>0 negative tests succeeded (previously 0)</li>
<li>10 malformed tests ignored (previously 0)</li></ul>
<li>10 malformed tests ignored (previously 10)</li></ul>
</body>
</html>

0 comments on commit 9131884

Please sign in to comment.
You can’t perform that action at this time.