aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2017-07-09 08:07:46 +0000
committerPjotr Prins2017-07-09 08:07:46 +0000
commit35405450385ded8797a9a6388e6e2801381f2894 (patch)
tree07b4faa6befe38e5e3c821e00b2f73a907e06552
parente0671a336595deddaa287a1f1f4f718897d01b90 (diff)
downloadpangemma-35405450385ded8797a9a6388e6e2801381f2894.tar.gz
Test: check result
-rwxr-xr-xtest/test_suite.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/test_suite.sh b/test/test_suite.sh
index c6aa38e..effc056 100755
--- a/test/test_suite.sh
+++ b/test/test_suite.sh
@@ -2,10 +2,13 @@
gemma=../bin/gemma
-testCenteredRelatednessMatrix() {
+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
+ -a ../example/mouse_hs1940.anno.txt -gk -o mouse_hs1940
assertEquals "3763600" `wc -w < output/mouse_hs1940.cXX.txt`
+ # assertEquals "15f680c" `md5sum < output/mouse_hs1940.cXX.txt | head -c 7`
+ assertEquals "0.335" `head -c 5 output/mouse_hs1940.cXX.txt`
+ assertEquals "29.691" `awk '{s+=substr($1,0,6)}END{print s}' output/mouse_hs1940.cXX.txt`
}
shunit2=`which shunit2`