Fix compilation of automation tests

This commit is contained in:
Thomas Goyne 2014-04-25 14:12:32 -07:00
parent 4cd92ee532
commit a5fdc6795c
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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) == '.'