blob: af403067f8473b46c7cadbe170b85add1d955dc2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
dofile("utils.lua")
vis.events = {}
vis.events.win_open = function(win)
-- test.in file passed to vis
local in_file = win.file.name
if in_file then
-- use the corresponding test.lua file
lua_file = string.gsub(in_file, '%.in$', '.lua')
dofile(lua_file)
vis:command('qall!')
end
end
|