Skip to content

matt-sm/failing-test-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

failing-test-example

works:

bazel test //mypkg:myrules_test

fails:

bazel cquery //...             
ERROR: /home/msmith/git/failing-test-example/mypkg/BUILD.bazel:11:19: in myrule rule //mypkg:this_should_fail: 
Traceback (most recent call last):
        File "/home/msmith/git/failing-test-example/mypkg/myrules.bzl", line 9, column 13, in _myrule_impl
                fail("This rule should never work")
Error in fail: This rule should never work
ERROR: /home/msmith/git/failing-test-example/mypkg/BUILD.bazel:11:19: Analysis of target '//mypkg:this_should_fail' failed
ERROR: Analysis of target '//mypkg:this_should_fail' failed; build aborted

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published