From 1d60d303945b4976984f379e420217a7230d79a9 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 28 Nov 2020 15:09:05 +0000 Subject: Prepare for release --- test/dev_test_suite.sh | 1 + test/lengthy_test_suite.sh | 1 + test/test_suite.sh | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/dev_test_suite.sh b/test/dev_test_suite.sh index 0e36218..903c72f 100755 --- a/test/dev_test_suite.sh +++ b/test/dev_test_suite.sh @@ -3,6 +3,7 @@ gemma=../bin/gemma # gemmaopts="-debug -strict" gemmaopts="-debug -check" +export GSL_RNG_SEED=100 testLinearModel() { $gemma $gemmaopts -g ../example/mouse_hs1940.geno.txt.gz \ diff --git a/test/lengthy_test_suite.sh b/test/lengthy_test_suite.sh index 231475e..6e93220 100755 --- a/test/lengthy_test_suite.sh +++ b/test/lengthy_test_suite.sh @@ -3,6 +3,7 @@ # Long running tests go here gemma=../bin/gemma +export GSL_RNG_SEED=100 testPlinkStandardRelatednessMatrixK() { testname=testPlinkStandardRelatednessMatrixK diff --git a/test/test_suite.sh b/test/test_suite.sh index a598cd2..cc244c0 100755 --- a/test/test_suite.sh +++ b/test/test_suite.sh @@ -2,6 +2,7 @@ gemma=../bin/gemma gemmaopts="-debug" +export GSL_RNG_SEED=10 testBslmm1() { outn=mouse_hs1940_CD8_bslmm @@ -72,10 +73,10 @@ testBslmm5() { -epm ./output/mouse_hs1940_CD8_bslmm_cc1.param.txt \ -emu ./output/mouse_hs1940_CD8_bslmm_cc1.log.txt \ -predict \ - -o $outn + -o $outn -seed 100 assertEquals 0 $? outfn=output/$outn.prdt.txt - assertEquals "550.67" `perl -nle 'foreach $x (split(/\s+/,$_)) { $sum += sprintf("%.2f",(substr($x,,0,6))) } END { printf "%.2f",$sum }' $outfn` + assertEquals "571.08" `perl -nle 'foreach $x (split(/\s+/,$_)) { $sum += sprintf("%.2f",(substr($x,,0,6))) } END { printf "%.2f",$sum }' $outfn` } testCenteredRelatednessMatrixKFullLOCO1() { -- cgit v1.2.3