diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2017-07-20 10:09:44 +0200 |
---|---|---|
committer | Klaus Aehlig <aehlig@google.com> | 2017-07-20 10:33:15 +0200 |
commit | 6d47707a96752d3b876bed5cfd253d5e064cbec1 (patch) | |
tree | 15d5bf5d848bf648377138998511be3a593bcf93 /src/test/cpp | |
parent | 897018267e9bd78f343e068eee8fdfd82b9c292e (diff) |
Windows: clean up error reporting
In this commit:
- remove blaze::PrintError in favor of
blaze_util::PrintError
- remove Ijar's PrintLastErrorMessage in favor of
blaze_util::PrintError
- use pdie every time path conversion fails,
because that indicates a fatal error (bad user
input for a path flag, or downright bug)
- remove explicitly printing GetLastErrror; pdie
and PrintError do it already
- unify the pdie/PrintError message formats
Fixes https://github.com/bazelbuild/bazel/issues/2935
Change-Id: I5feaf73885cab95c43a28c529ada6942e037b162
PiperOrigin-RevId: 162587490
Diffstat (limited to 'src/test/cpp')
-rw-r--r-- | src/test/cpp/util/BUILD | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/cpp/util/BUILD b/src/test/cpp/util/BUILD index bc995bfb05..119d99392b 100644 --- a/src/test/cpp/util/BUILD +++ b/src/test/cpp/util/BUILD @@ -35,7 +35,6 @@ cc_test( "file_posix_test.cc", ], }), - tags = ["manual"], deps = [ ":test_util", "//src/main/cpp/util:file", |