Index: test/analyzer/gyptest-analyzer.py |
diff --git a/test/analyzer/gyptest-analyzer.py b/test/analyzer/gyptest-analyzer.py |
index 04c56cb27a6e13581108ddd10b575665717609d3..f1335484c51f1d61563e82a8176a5b33a560144f 100644 |
--- a/test/analyzer/gyptest-analyzer.py |
+++ b/test/analyzer/gyptest-analyzer.py |
@@ -236,6 +236,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() |