Skip to content

Commit

Permalink
retesting
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Nov 8, 2023
1 parent cc86a6f commit 0bd5632
Show file tree
Hide file tree
Showing 72 changed files with 10 additions and 152 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.2.0
5.2.1
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 0 additions & 5 deletions rdfsurfaces/beetle/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/beetle/test

This file was deleted.

5 changes: 0 additions & 5 deletions rdfsurfaces/complex/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/complex/test

This file was deleted.

5 changes: 0 additions & 5 deletions rdfsurfaces/contradiction/README

This file was deleted.

4 changes: 0 additions & 4 deletions rdfsurfaces/contradiction/test

This file was deleted.

5 changes: 0 additions & 5 deletions rdfsurfaces/dishes/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/dishes/test

This file was deleted.

24 changes: 0 additions & 24 deletions rdfsurfaces/dqc/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/dqc/test

This file was deleted.

10 changes: 0 additions & 10 deletions rdfsurfaces/edt/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/edt/test

This file was deleted.

5 changes: 0 additions & 5 deletions rdfsurfaces/fibonacci/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/fibonacci/test

This file was deleted.

5 changes: 0 additions & 5 deletions rdfsurfaces/graph/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/graph/test

This file was deleted.

5 changes: 0 additions & 5 deletions rdfsurfaces/lubm/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/lubm/test

This file was deleted.

5 changes: 0 additions & 5 deletions rdfsurfaces/peano/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/peano/test

This file was deleted.

5 changes: 0 additions & 5 deletions rdfsurfaces/pi/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/pi/test

This file was deleted.

5 changes: 0 additions & 5 deletions rdfsurfaces/policy/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/policy/test

This file was deleted.

5 changes: 0 additions & 5 deletions rdfsurfaces/socrates/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/socrates/test

This file was deleted.

5 changes: 0 additions & 5 deletions rdfsurfaces/turing/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/turing/test

This file was deleted.

5 changes: 0 additions & 5 deletions rdfsurfaces/universal/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/universal/test

This file was deleted.

5 changes: 0 additions & 5 deletions rdfsurfaces/witch/README

This file was deleted.

2 changes: 0 additions & 2 deletions rdfsurfaces/witch/test

This file was deleted.

2 changes: 0 additions & 2 deletions retina

This file was deleted.

2 changes: 1 addition & 1 deletion retina.pl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
:- dynamic('<http://www.w3.org/2000/10/swap/log#onQuerySurface>'/2).
:- dynamic('<http://www.w3.org/2000/10/swap/log#onQuestionSurface>'/2).

version_info('retina v5.2.0 (2023-11-07)').
version_info('retina v5.2.1 (2023-11-08)').

% run
run :-
Expand Down
18 changes: 8 additions & 10 deletions test
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,28 @@
RED="\e[31m"
GREEN="\e[32m"
YELLOW="\e[33m"
BLUE="\e[34m"
NORMAL="\e[0;39m"

OK=0
FAILED=0

echo -e "${YELLOW}Running retina/test${NORMAL}"
echo ""

pushd rdfsurfaces > /dev/null
for dir in */
pushd ./examples > /dev/null
for f in *.pl
do
pushd "${dir}" > /dev/null
./test
if [[ $(git status -s . | wc -l) -ne 0 ]]; then
echo -e "${RED}${dir} FAILED${NORMAL}"
tpl -g run ../retina.pl $f | tee out/$f.out
if [[ $(git diff out/$f.out | wc -l) -ne 0 ]]; then
echo -e "${RED}${f} FAILED${NORMAL}"
((FAILED++))
else
echo -e "${GREEN}${dir} OK${NORMAL}"
echo -e "${GREEN}${f} OK${NORMAL}"
((OK++))
fi
popd > /dev/null
echo ""
done
popd > /dev/null
popd > /dev/null

echo -e "Tests: ${GREEN}${OK} OK${NORMAL} ${RED}${FAILED} FAILED${NORMAL}"

Expand Down

0 comments on commit 0bd5632

Please sign in to comment.