Add 'build' DSL method.

Disallow processing Environments until configuration is performed.
This commit is contained in:
josh committed 2018-12-17 22:14:35 -05:00
1 parent 5720662b7c
commit f8e6666a2c
90 files changed
+637 -434

No files matched your search

+7
View File
@@ -1886,6 +1886,13 @@ EOF
expect(result.stdout).to match /Checking for C compiler\.\.\. not found/
expect(result.status).to_not eq 0
end
it "exits with an error if configuration has not been performed before attempting to process an environment" do
test_dir "configure"
result = run_rscons(rsconscript: "error_env_process_before_configure.rb")
expect(result.stderr).to match /Project must be configured before processing an Environment/
expect(result.status).to_not eq 0
end
end
end