aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/dev_tests.rb1
-rwxr-xr-xtest/lengthy_test_suite.sh2
-rw-r--r--test/lib/test-helpers.rb2
3 files changed, 3 insertions, 2 deletions
diff --git a/test/dev_tests.rb b/test/dev_tests.rb
index 49068dc..11f4167 100644
--- a/test/dev_tests.rb
+++ b/test/dev_tests.rb
@@ -7,6 +7,7 @@ class TestQuick < MiniTest::Test
include TestHelpers
def setup
+ ENV['GSL_RNG_SEED']=100.to_s
end
def test_linear_model
diff --git a/test/lengthy_test_suite.sh b/test/lengthy_test_suite.sh
index 6e11793..5a067eb 100755
--- a/test/lengthy_test_suite.sh
+++ b/test/lengthy_test_suite.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
#
# Long running tests go here
diff --git a/test/lib/test-helpers.rb b/test/lib/test-helpers.rb
index 672a2c2..a409626 100644
--- a/test/lib/test-helpers.rb
+++ b/test/lib/test-helpers.rb
@@ -2,7 +2,7 @@ module TestHelpers
# Runs gemma and returns true if successful
def gemma(opts)
- assert system("./bin/gemma #{opts}")
+ assert system("./bin/gemma -debug -check #{opts}")
end
def read(fn, line=0)