summaryrefslogtreecommitdiff
path: root/android/testing.go
diff options
context:
space:
mode:
author Lukacs T. Berki <lberki@google.com> 2021-03-09 10:50:47 +0100
committer Lukacs T. Berki <lberki@google.com> 2021-03-09 10:50:47 +0100
commitc5723e3af79c0e167e2c4c0437f392397a54e1fa (patch)
tree100a6f14a268b2564d54dab38c51e5e4dff15801 /android/testing.go
parent35570c14cecabdbc8997de84bdd7fbb3d592fe25 (diff)
Remove the special-casing of /dev from test path normalization.
Test: "m nothing" Change-Id: Ib88f1632792dc9351bcf52dbe78822acf94fad27
Diffstat (limited to 'android/testing.go')
-rw-r--r--android/testing.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/android/testing.go b/android/testing.go
index 2c243729e..4eb616a04 100644
--- a/android/testing.go
+++ b/android/testing.go
@@ -787,10 +787,6 @@ func NormalizePathForTesting(path Path) string {
return "<nil path>"
}
p := path.String()
- // Allow absolute paths to /dev/
- if strings.HasPrefix(p, "/dev/") {
- return p
- }
if w, ok := path.(WritablePath); ok {
rel, err := filepath.Rel(w.buildDir(), p)
if err != nil {