Bläddra i källkod

fixed: should actually RUN the tests

Nick Hildebrant 10 år sedan
förälder
incheckning
bfe900485a
3 ändrade filer med 2 tillägg och 2 borttagningar
  1. 0 1
      .travis/lua_env.sh
  2. 1 0
      .travis/run_ci_tests.sh
  3. 1 1
      test/ci_test_basic/test_test2.lua

+ 0 - 1
.travis/lua_env.sh

@@ -1,5 +1,4 @@
 #!/bin/bash
-set -ev
 
 export LUAROCKS=.travis/lua/bin/luarocks
 export PATH=$($LUAROCKS path --bin):$PATH

+ 1 - 0
.travis/run_ci_tests.sh

@@ -12,6 +12,7 @@ do
   for SCRIPT in $SCRIPTS
   do
     echo starting test script $SCRIPT
+    lunit.sh $SCRIPT
     #lua $SCRIPT
   done
 done

+ 1 - 1
test/ci_test_basic/test_test2.lua

@@ -1,7 +1,7 @@
 local lunit = require('lunitx')
 local cURL = require("cURL")
 
-_ENV = lunit.module('enhanced','seeall')
+_ENV = lunit.module('simple','seeall')
 
 function test_success_again() 
   assert_true (true, 'more tests work')