-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Test envs are only evaluated when running `buck test`. To aid reproducing test environment with interactive shell, dump the envs for debugging purpose and upload to tpx. Test Plan: Run test and see env uploaded. ``` $ buck test antlir/antlir2/antlir2_vm/tests:rust-test File changed: fbcode//antlir/antlir2/antlir2_vm/src/main.rs Buck UI: https://www.internalfb.com/buck2/2a847842-ee86-41a9-a571-eaeee9effea7 Test UI: https://www.internalfb.com/intern/testinfra/testrun/10414574143836274 Network: Up: 7.2KiB Down: 0B (reSessionID-3b689d95-be91-4bbc-bf8d-565e3f5469f9) Jobs completed: 12. Time elapsed: 55.1s. Cache hits: 0%. Commands: 1 (cached: 0, remote: 0, local: 1) Tests finished: Pass 3. Fail 0. Fatal 0. Skip 0. Build failure 0 ``` The `Logs` tab on the left now has env.txt: https://www.internalfb.com/intern/testinfra/diagnostics/10414574143836274.281475080786032.1696628348/ Reviewed By: epilatow Differential Revision: D50039958 fbshipit-source-id: 494441db526ac4444584cb72de076b15ab92e9aa
- Loading branch information
1 parent
de90c12
commit b2c2c52
Showing
4 changed files
with
52 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters