about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_suite.sh21
1 files changed, 13 insertions, 8 deletions
diff --git a/test/test_suite.sh b/test/test_suite.sh
index ebbe4c7..467056e 100755
--- a/test/test_suite.sh
+++ b/test/test_suite.sh
@@ -3,8 +3,10 @@
 gemma=../bin/gemma
 
 testCenteredRelatednessMatrixK() {
-    $gemma -g ../example/mouse_hs1940.geno.txt.gz -p ../example/mouse_hs1940.pheno.txt \
-           -a ../example/mouse_hs1940.anno.txt -gk -o mouse_hs1940
+    $gemma -g ../example/mouse_hs1940.geno.txt.gz \
+      -p ../example/mouse_hs1940.pheno.txt \
+      -a ../example/mouse_hs1940.anno.txt \
+      -gk -o mouse_hs1940
     assertEquals 0 $?
     grep "total computation time" < output/mouse_hs1940.log.txt
     assertEquals 0 $?
@@ -16,9 +18,10 @@ testCenteredRelatednessMatrixK() {
 }
 
 testUnivariateLinearMixedModel() {
-    $gemma -g ../example/mouse_hs1940.geno.txt.gz -p ../example/mouse_hs1940.pheno.txt -n 1 \
-           -a ../example/mouse_hs1940.anno.txt -k ./output/mouse_hs1940.cXX.txt -lmm \
-           -o mouse_hs1940_CD8_lmm
+    $gemma -g ../example/mouse_hs1940.geno.txt.gz \
+      -p ../example/mouse_hs1940.pheno.txt -n 1 \
+      -a ../example/mouse_hs1940.anno.txt -k ./output/mouse_hs1940.cXX.txt \
+      -lmm -o mouse_hs1940_CD8_lmm
     assertEquals 0 $?
     grep "total computation time" < output/mouse_hs1940_CD8_lmm.log.txt
     assertEquals 0 $?
@@ -28,9 +31,10 @@ testUnivariateLinearMixedModel() {
 }
 
 testMultivariateLinearMixedModel() {
-    $gemma -g ../example/mouse_hs1940.geno.txt.gz -p ../example/mouse_hs1940.pheno.txt \
-           -n 1 6 -a ../example/mouse_hs1940.anno.txt -k ./output/mouse_hs1940.cXX.txt \
-           -lmm -o mouse_hs1940_CD8MCH_lmm
+    $gemma -g ../example/mouse_hs1940.geno.txt.gz \
+      -p ../example/mouse_hs1940.pheno.txt -n 1 6 \
+      -a ../example/mouse_hs1940.anno.txt -k ./output/mouse_hs1940.cXX.txt \
+      -lmm -o mouse_hs1940_CD8MCH_lmm
     assertEquals 0 $?
     grep "total computation time" < output/mouse_hs1940_CD8MCH_lmm.log.txt
     assertEquals 0 $?
@@ -39,6 +43,7 @@ testMultivariateLinearMixedModel() {
     assertEquals "139867" `wc -w < $outfn`
     assertEquals "92079" `perl -nle '$sum += substr($_,0,6) } END { print $sum' $outfn`
 }
+
 shunit2=`which shunit2`
 
 if [ -x "$shunit2" ]; then