Displaying 1 result from an estimated 1 matches for "fix5".
Did you mean:
fix
2016 Aug 16
8
RFC: A cross platform way of using shell commands in lit tests
...CHECK-FIX2
// RUN: FileCheck -input-file=%T/compilation-database-test/b/b.cpp %s
-check-prefix=CHECK-FIX3
// RUN: FileCheck -input-file=%T/compilation-database-test/b/c.cpp %s
-check-prefix=CHECK-FIX4
// RUN: FileCheck -input-file=%T/compilation-database-test/include/header.h
%s -check-prefix=CHECK-FIX5
This test does not require a shell! Remove the line (and change the %S and
%T on the sed line to %/S and %/T) and this test already works on Windows!
I have inspected around 20 tests so far that claim to require shell, and so
far only about 3 of them are more complicated than removing the line....