8
# (cd gcl ; make -f xbin/maketest) # does compilation and test of nqthm
9
# (cd gcl ; make -f xbin/maketest "TAR=/usr2/ftp/gcl.tar.Z") # does compilation of gcl and runs test of nqthm in the resulting lisp
12
xbin/setup-tmptest $(TMP) $(TEST) $(NQTHM)
13
(cd $(TMP) ; echo '(load "nqthm.lisp")(compile-nqthm)' | ${LISP})
14
make -f xbin/maketest run-test "LISP=${LISP}"
15
make -f xbin/maketest sgc "LISP=${LISP}"
17
# untar the tar file ${TAR} in ${TEST}/tmp/gcl and make
18
# then make -f xbin/maketest all
20
xbin/test1 ${TEST} ${TAR}
23
(cd $(TMP) ; echo '(load "nqthm.lisp")(load-nqthm)' \
24
'(SETQ *THM-SUPPRESS-DISCLAIMER-FLG* T)' \
25
'(load "little.lisp")' | ${LISP})
27
# we run the compiler 10 times with sgc on and compare with the result with
31
echo '(compile-file "/tmp/sloop.lsp" :c-file t :o-file nil)' | ${LISP}
32
mv /tmp/sloop.c /tmp/sloop-reg.c
33
echo '(setq si::*notify-gbc* t)(si::sgc-on t)' \
34
'(dotimes (i 10) (compile-file "/tmp/sloop.lsp" :c-file t :o-file nil)' \
35
'(if (not (eql 0 (system "diff /tmp/sloop.c /tmp/sloop-reg.c")))' \
36
'(error ">>>>ERROR: The compilation DIFFERED")))' | ${LISP}
37
diff /tmp/sloop.c /tmp/sloop-reg.c
38
rm -f /tmp/sloop.lsp /tmp/sloop.c /tmp/sloop-reg.c