start on specs for configure command

This commit is contained in:
Josh Holtrop 2018-11-03 23:19:54 -04:00
parent 9bd9abcad1
commit 5288a47bfb
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1 @@
check_c_compiler "gcc"

View File

@ -1481,4 +1481,14 @@ EOF
expect(result.status).to_not eq 0
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