aboutsummaryrefslogtreecommitdiffstats
path: root/test_.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtest_.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test_.lua b/test_.lua
index 1a892a9..872bea7 100755
--- a/test_.lua
+++ b/test_.lua
@@ -1,5 +1,11 @@
1#!/usr/bin/env luajit 1#!/usr/bin/env luajit
2 2
3if type(jit) == 'table' then
4 print(arg[0] .. ' is being run by ' .. jit.version .. ' under ' .. jit.os .. ' on a ' .. jit.arch .. '. Lua version ' .. _VERSION)
5else
6 print(arg[0] .. ' is being run by Lua version ' .. _VERSION)
7end
8
3 9
4local _ = require 'PolygLua' 10local _ = require 'PolygLua'
5 11
@@ -159,3 +165,4 @@ __'date':log():show():Do()
159-- Should get that "later" thing printed while the sleep is happening. 165-- Should get that "later" thing printed while the sleep is happening.
160__'date; sleep 5; date':log():show():Do() 166__'date; sleep 5; date':log():show():Do()
161 167
168