Rewrite tests to not use Tcl substitution.
[oota-llvm.git] / test / LLVMC / ExternOptions.td
index a04a88b002aab378ae841e1d1e5ff3d95aa61632..7d71e91551cdf9e1b469a0a9485e5174da27d031 100644 (file)
@@ -1,6 +1,6 @@
 // Check that extern options work.
 // The dummy tool and graph are required to silence warnings.
-// RUN: tblgen -I $srcroot/include --gen-llvmc %s -o %t
+// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: grep {extern .* AutoGeneratedSwitch_Wall} %t
 
 include "llvm/CompilerDriver/Common.td"