Index: test/analyzer/gyptest-analyzer.py |
diff --git a/test/analyzer/gyptest-analyzer.py b/test/analyzer/gyptest-analyzer.py |
index 537d1c80b6bfefd37cd4248d15987a34357735c9..5f95a5ad8068702b15d4e6f599316ce31d60a169 100644 |
--- a/test/analyzer/gyptest-analyzer.py |
+++ b/test/analyzer/gyptest-analyzer.py |
@@ -228,6 +228,11 @@ _CreateConfigFile(['subdir/subdir_source.h'], []) |
run_analyzer() |
EnsureContains(matched=True, build_targets={'exe'}) |
+# Verifies relative paths in inputs are resolved correctly. |
+_CreateConfigFile(['rel_path1.h'], []) |
+run_analyzer() |
+EnsureContains(matched=True, build_targets={'exe'}) |
+ |
# Various permutations when passing in targets. |
_CreateConfigFile(['exe2.c', 'subdir/subdir2b_source.c'], ['exe', 'exe3']) |
run_analyzer() |