mirror of https://github.com/odrling/Aegisub
Fix compilation of automation tests
This commit is contained in:
parent
4cd92ee532
commit
a5fdc6795c
|
@ -1,5 +1,7 @@
|
||||||
include ../Makefile.inc
|
include ../Makefile.inc
|
||||||
|
|
||||||
|
PRECOMPILED_HEADER_NAME = ../libaegisub/lagi_pre.h
|
||||||
|
|
||||||
LIB_SHARED = aegisub.so
|
LIB_SHARED = aegisub.so
|
||||||
LIB_VERSION = 0.1.0
|
LIB_VERSION = 0.1.0
|
||||||
BUILD_LIB = no
|
BUILD_LIB = no
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
require 'lunatest'
|
require 'lunatest'
|
||||||
require 'lfs'
|
require 'lfs'
|
||||||
|
|
||||||
package.path ..= 'include/?.lua;'
|
package.path ..= ';include/?.lua;'
|
||||||
package.moonpath ..= 'include/?.moon;'
|
package.moonpath ..= ';include/?.moon;'
|
||||||
|
|
||||||
for file in lfs.dir 'tests/modules'
|
for file in lfs.dir 'tests/modules'
|
||||||
require "tests.modules.#{file\gsub '\.[^.]+$', ''}" unless file\sub(1, 1) == '.'
|
require "tests.modules.#{file\gsub '\.[^.]+$', ''}" unless file\sub(1, 1) == '.'
|
||||||
|
|
Loading…
Reference in New Issue