diff options
Diffstat (limited to 'test/testing.sh')
| -rwxr-xr-x | test/testing.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/testing.sh b/test/testing.sh index 7292c75d..5ae6bb35 100755 --- a/test/testing.sh +++ b/test/testing.sh | |||
| @@ -224,6 +224,7 @@ luarocks_noecho="run_lua --noecho luarocks" | |||
| 224 | luarocks_noecho_nocov="run_lua --noecho --nocov luarocks" | 224 | luarocks_noecho_nocov="run_lua --noecho --nocov luarocks" |
| 225 | luarocks_admin="run_lua luarocks-admin" | 225 | luarocks_admin="run_lua luarocks-admin" |
| 226 | luarocks_admin_nocov="run_lua --nocov luarocks-admin" | 226 | luarocks_admin_nocov="run_lua --nocov luarocks-admin" |
| 227 | luajit_luarocks="luajit -e require('luacov.runner')('$testing_dir/luacov.config') $basedir/bin/luarocks" | ||
| 227 | 228 | ||
| 228 | ################################################### | 229 | ################################################### |
| 229 | 230 | ||
| @@ -524,6 +525,13 @@ test_fetch_base_dir() { $lua <<EOF | |||
| 524 | EOF | 525 | EOF |
| 525 | } | 526 | } |
| 526 | 527 | ||
| 528 | test_luajit_dependency() { | ||
| 529 | $luajit_luarocks build "$testing_dir/testfiles/luajit-success-1.0-1.rockspec" | ||
| 530 | } | ||
| 531 | fail_luajit_dependency() { | ||
| 532 | $luajit_luarocks build "$testing_dir/testfiles/luajit-fail-1.0-1.rockspec" | ||
| 533 | } | ||
| 534 | |||
| 527 | test_doc() { $luarocks install luarepl; $luarocks doc luarepl; } | 535 | test_doc() { $luarocks install luarepl; $luarocks doc luarepl; } |
| 528 | 536 | ||
| 529 | # Driver ######################################### | 537 | # Driver ######################################### |
