From 77ea90a8b469e9d25a727f8ebbdad3b63e56e8a2 Mon Sep 17 00:00:00 2001
From: pfdietz <pfdietz@localhost>
Date: Sat, 29 Nov 2003 01:58:51 +0000
Subject: [PATCH] Added random testing targets to makefile.

---
 ansi-tests/makefile | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/ansi-tests/makefile b/ansi-tests/makefile
index f279ba79..0fa68ca8 100644
--- a/ansi-tests/makefile
+++ b/ansi-tests/makefile
@@ -1,3 +1,5 @@
+LISP=gcl
+ACL=~/acl62_trial/alisp
 
 test:
 	echo "(load \"gclload.lsp\")" | gcl | tee test.out
@@ -5,5 +7,21 @@ test:
 test-unixport:
 	echo "(load \"gclload.lsp\")" | ../unixport/saved_ansi_gcl | tee test.out
 
+random-test:
+	echo "(load \"gclload1.lsp\") \
+		(compile-and-load \"random-int-form.lsp\")  \
+		(in-package :cl-test) \
+		(let ((x (cl-test::test-random-integer-forms 1000 3 200))) \
+		  (print (cl-test::prune-results x)) nil)" | $(LISP)
+random-acl-test:
+	echo "(progn (setq *load-verbose* nil) (load \"gclload1.lsp\")) \
+	      (progn \
+		(compile-and-load \"random-int-form.lsp\")  \
+		(in-package :cl-test) \
+		(setq cl-test::*compile-unoptimized-form* nil) \
+		(let ((x (cl-test::test-random-integer-forms 1000 3 50))) \
+		  (print (cl-test::prune-results x)) nil))" | $(ACL)
+
+
 clean:
 	rm -f test.out *.fasl *.o *.so *~ *.fn *.x86f *.fasl *.ufsl *.fas *.lib \#*\#
-- 
GitLab