aboutsummaryrefslogtreecommitdiffstats
path: root/test_.lua
diff options
context:
space:
mode:
authordvs12024-10-28 23:30:04 +1000
committerdvs12024-10-28 23:30:04 +1000
commitb1d60bb06a493b1bd02ea4f02ec7b3656063dba3 (patch)
tree6e91329cc7e7db31c31b0fa6dfc06ef907bff428 /test_.lua
parentMinor tweaks. (diff)
downloadJackOnAllDevices-b1d60bb06a493b1bd02ea4f02ec7b3656063dba3.zip
JackOnAllDevices-b1d60bb06a493b1bd02ea4f02ec7b3656063dba3.tar.gz
JackOnAllDevices-b1d60bb06a493b1bd02ea4f02ec7b3656063dba3.tar.bz2
JackOnAllDevices-b1d60bb06a493b1bd02ea4f02ec7b3656063dba3.tar.xz
Various minor tweaks and cleanups.
Diffstat (limited to 'test_.lua')
-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