From 2c8498cf876e84807825bbc570ef20fd89657405 Mon Sep 17 00:00:00 2001 From: David Given Date: Mon, 17 Jun 2019 00:52:09 +0200 Subject: [PATCH] I managed to break the test system... somehow. Fix. --- tests/plat/build.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/plat/build.lua b/tests/plat/build.lua index 6bc5ef9b7..f7eecc0dd 100644 --- a/tests/plat/build.lua +++ b/tests/plat/build.lua @@ -11,7 +11,7 @@ definerule("plat_testsuite", function(e) -- Remember this is executed from the caller's directory; local -- target names will resolve there. - local testfiles = e.tests + local testfiles = filenamesof(e.tests) local skipsets = {} for _, set in ipairs(e.skipsets) do skipsets[set] = true @@ -40,7 +40,7 @@ definerule("plat_testsuite", local tests = {} for _, f in ipairs(testfiles) do - local fs = replace(basename(filenamesof(f)[1]), "%.[^.]+$", "") + local fs = replace(basename(f), "%.[^.]+$", "") local _, _, lang = fs:find("_([^_]+)$") if not lang then lang = "e"