Load configure task arguments before early configure operations - close #157

This commit is contained in:
josh committed 2022-03-13 20:16:01 -04:00
1 parent b932380b3b
commit 1bf1c30242
4 files changed
+25 -8

No files matched your search

+9
View File
@@ -1845,6 +1845,15 @@ EOF
expect(result.stdout).to_not match %r{Configuring project.*Configuring project}m
end
it "loads configure parameters before invoking configure" do
test_dir "configure"
result = run_rscons(args: %w[-f configure_with_top_level_env.rb configure --prefix=/yodabob])
expect(result.stderr).to eq ""
expect(result.status).to eq 0
expect(result.stdout).to match "Prefix is /yodabob"
end
it "automatically runs the configure task if the project is not yet configured in the given build directory" do
test_dir "configure"