start on specs for configure command
This commit is contained in:
parent
9bd9abcad1
commit
5288a47bfb
1
build_tests/configure/scope.rb
Normal file
1
build_tests/configure/scope.rb
Normal file
@ -0,0 +1 @@
|
||||
check_c_compiler "gcc"
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user