From 863973f19f0162a3f56a6117dd65abb9a3d28500 Mon Sep 17 00:00:00 2001 From: Martin Mikelsons Date: Wed, 31 Jan 2018 11:38:01 -0800 Subject: [PATCH] bug23011: add targets to test w/explicit hiper switch %Testing: make test-do-hiper, make test-no-hiper Add targets to run tests with explicit setting of *hiper-socket-is-stream-socket* switch. Change :exit argument value from t to nil in calls to test-aserve-n to allow time output to show in log file. Change-Id: Ib182b866a60b09b811609995c3e7a0d61be7a1a3 Reviewed-on: https://gerrit.franz.com:9080/9751 Reviewed-by: Kevin Layer Tested-by: Kevin Layer --- makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/makefile b/makefile index 299b1fcb..b1ea38b3 100644 --- a/makefile +++ b/makefile @@ -62,28 +62,34 @@ else echo '(load "test/t-aserve.cl")' >> test.tmp endif +# Run tests with default setting of *hiper-socket-is-stream-socket* switch. test: test.tmp - echo '(time (test-aserve-n :n 1 :exit t))' >> test.tmp + echo '(time (test-aserve-n :n 1 :exit nil))' >> test.tmp + $(mlisp) -L test.tmp -kill + +test-do-hiper: test.tmp + echo '(setq excl::*hiper-socket-is-stream-socket* nil)' >> test.tmp + echo '(time (test-aserve-n :n 1 :exit nil))' >> test.tmp $(mlisp) -L test.tmp -kill test-no-hiper: test.tmp echo '(setq excl::*hiper-socket-is-stream-socket* t)' >> test.tmp - echo '(time (test-aserve-n :n 1 :exit t))' >> test.tmp + echo '(time (test-aserve-n :n 1 :exit nil))' >> test.tmp $(mlisp) -L test.tmp -kill testsmp: test.tmp - echo '(time (test-aserve-n $(NSERVERS) :exit t))' >> test.tmp + echo '(time (test-aserve-n $(NSERVERS) :exit nil))' >> test.tmp $(mlisp) -L test.tmp -kill stress: test.tmp echo '(net.aserve::debug-on :notrap)' >> test.tmp - echo '(time (test-aserve-n $(NSERVERS) :exit t))' >> test.tmp + echo '(time (test-aserve-n $(NSERVERS) :exit nil))' >> test.tmp ../bin/repeat.sh 10 $(mlisp) -L test.tmp -kill stresswp: test.tmp echo '(net.aserve::debug-on :notrap)' >> test.tmp echo '(setq excl::*break-on-warnings* :pause)' >> test.tmp - echo '(time (test-aserve-n $(NSERVERS) :exit t))' >> test.tmp + echo '(time (test-aserve-n $(NSERVERS) :exit nil))' >> test.tmp ../bin/repeat.sh 10 $(mlisp) -L test.tmp -kill test-from-asdf: FORCE