Avoid running configure operation twice - close #156

This commit is contained in:
josh committed 2022-03-11 21:17:07 -05:00
1 parent e3ea429253
commit b932380b3b
3 files changed
+25 -8

No files matched your search

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