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
PRECOMPILED_HEADER_NAME = ../libaegisub/lagi_pre.h
LIB_SHARED = aegisub.so
LIB_VERSION = 0.1.0
BUILD_LIB = no

View file

@ -15,8 +15,8 @@
require 'lunatest'
require 'lfs'
package.path ..= 'include/?.lua;'
package.moonpath ..= 'include/?.moon;'
package.path ..= ';include/?.lua;'
package.moonpath ..= ';include/?.moon;'
for file in lfs.dir 'tests/modules'
require "tests.modules.#{file\gsub '\.[^.]+$', ''}" unless file\sub(1, 1) == '.'