From a5fdc6795c64ccb19e8f92e196e640068b4123b1 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 25 Apr 2014 14:12:32 -0700 Subject: [PATCH] Fix compilation of automation tests --- automation/Makefile | 2 ++ automation/tests/runner.moon | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/automation/Makefile b/automation/Makefile index 2544559b6..5abfccf59 100644 --- a/automation/Makefile +++ b/automation/Makefile @@ -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 diff --git a/automation/tests/runner.moon b/automation/tests/runner.moon index 4c2c979e2..74cd45301 100644 --- a/automation/tests/runner.moon +++ b/automation/tests/runner.moon @@ -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) == '.'