summaryrefslogtreecommitdiff
path: root/android/testing.go
diff options
context:
space:
mode:
author Lukács T. Berki <lberki@google.com> 2021-03-09 14:32:51 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-03-09 14:32:51 +0000
commit5037e09ca0c33e54a901cf0fcbec8f942f5f13ab (patch)
tree06288ecbeb9245e823dc72bea1d09361be998e3e /android/testing.go
parent706cb6f344dda552731303b28f8a41cd75a2589e (diff)
parentc5723e3af79c0e167e2c4c0437f392397a54e1fa (diff)
Merge "Remove the special-casing of /dev from test path normalization."
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 {