Allow multiple test files to be compiled
This commit is contained in:
parent
2e48921bb1
commit
62451f3a92
@ -19,8 +19,8 @@ describe Propane do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def compile(test_file)
|
def compile(*test_files)
|
||||||
result = system(*%w[gdc -funittest -o spec/run/testparser spec/run/testparser.d], test_file)
|
result = system(*%w[gdc -funittest -o spec/run/testparser spec/run/testparser.d -Ispec], *test_files)
|
||||||
expect(result).to be_truthy
|
expect(result).to be_truthy
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user