start on specs for configure command
This commit is contained in:
1 parent
9bd9abcad1
commit
5288a47bfb
2 files changed
+11
No files matched your search
@@ -0,0 +1 @@
|
|||||||
|
check_c_compiler "gcc"
|
||||||
@@ -1481,4 +1481,14 @@ EOF
|
|||||||
expect(result.status).to_not eq 0
|
expect(result.status).to_not eq 0
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
context "configure" do
|
||||||
|
it "raises a method not found error for configure methods called outside a configure block" do
|
||||||
|
test_dir "configure"
|
||||||
|
result = run_rscons(rsconsfile: "scope.rb")
|
||||||
|
expect(result.stderr).to match /NoMethodError/
|
||||||
|
expect(result.status).to_not eq 0
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
Reference in new issue
Block a user