|
629 | 629 | # Validate that we get the dependency chain printed out.
|
630 | 630 | expect_log '^Dependency chain:$'
|
631 | 631 | expect_log '^ //target_skipping:generate_with_tool$'
|
632 |
| - expect_log "^ //target_skipping:generator_tool <-- target platform didn't satisfy constraint //target_skipping:foo1$" |
| 632 | + expect_log "^ //target_skipping:generator_tool <-- target platform didn't satisfy constraint //target_skipping:foo1" |
633 | 633 | expect_log 'FAILED: Build did NOT complete successfully'
|
634 | 634 |
|
635 | 635 | # Validate the test.
|
|
644 | 644 | expect_log '^Dependency chain:$'
|
645 | 645 | expect_log '^ //target_skipping:generated_test$'
|
646 | 646 | expect_log '^ //target_skipping:generate_with_tool$'
|
647 |
| - expect_log "^ //target_skipping:generator_tool <-- target platform didn't satisfy constraint //target_skipping:foo1$" |
| 647 | + expect_log "^ //target_skipping:generator_tool <-- target platform didn't satisfy constraint //target_skipping:foo1" |
648 | 648 | expect_log 'FAILED: Build did NOT complete successfully'
|
649 | 649 | }
|
650 | 650 |
|
|
692 | 692 | expect_log '^Dependency chain:$'
|
693 | 693 | expect_log '^ //target_skipping:generated_test$'
|
694 | 694 | expect_log '^ //target_skipping:generate_with_tool$'
|
695 |
| - expect_log "^ //target_skipping:generator_tool <-- target platform didn't satisfy constraints \[//target_skipping:foo1, //target_skipping:bar2\]$" |
| 695 | + expect_log "^ //target_skipping:generator_tool <-- target platform didn't satisfy constraints \[//target_skipping:foo1, //target_skipping:bar2\]" |
696 | 696 | expect_log 'FAILED: Build did NOT complete successfully'
|
697 | 697 | }
|
698 | 698 |
|
|
848 | 848 |
|
849 | 849 | # Make sure that the contents of the file are what we expect.
|
850 | 850 | cp ../${PRODUCT_NAME}-bin/target_skipping/host_tool_message.txt "${TEST_log}"
|
851 |
| - expect_log '^Hello World$' |
| 851 | + expect_log 'Hello World' |
852 | 852 | }
|
853 | 853 |
|
854 | 854 | # Validates that we successfully skip analysistest rule targets when they
|
@@ -916,8 +916,8 @@ function test_query() {
|
916 | 916 | bazel query \
|
917 | 917 | 'deps(//target_skipping:sh_foo1)' &> "${TEST_log}" \
|
918 | 918 | || fail "Bazel query failed unexpectedly."
|
919 |
| - expect_log '^//target_skipping:sh_foo1$' |
920 |
| - expect_log '^//target_skipping:genrule_foo1$' |
| 919 | + expect_log '^//target_skipping:sh_foo1' |
| 920 | + expect_log '^//target_skipping:genrule_foo1' |
921 | 921 | }
|
922 | 922 |
|
923 | 923 | # Run a cquery on a target that is compatible. This should pass.
|
|
0 commit comments