diff options
Diffstat (limited to 'test/unit/helpers.lua')
-rw-r--r-- | test/unit/helpers.lua | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/test/unit/helpers.lua b/test/unit/helpers.lua index abbdecacc9..1e97fc9793 100644 --- a/test/unit/helpers.lua +++ b/test/unit/helpers.lua @@ -69,14 +69,7 @@ local function cimport(...) end local body = nil - for _ = 1, 10 do - body, previous_defines = Preprocess.preprocess(previous_defines, unpack(paths)) - if body ~= nil then break end - end - - if body == nil then - print("ERROR: helpers.lua: Preprocess.preprocess() returned empty") - end + body, previous_defines = Preprocess.preprocess(previous_defines, unpack(paths)) -- format it (so that the lines are "unique" statements), also filter out -- Objective-C blocks |