Reid Kleckner
acbd23adf1
Remove shell requirements from tests that use 'cd'
...
Modules and Tooling tests in particular tend to want to change the cwd,
so we were missing test coverage in this area on Windows. It should now
be easier to write such portable tests.
llvm-svn: 231029
2015-03-02 22:42:58 +00:00
NAKAMURA Takumi
5dd3777633
test/Frontend/dependency-gen.c: Relax expressions for Win32 host (mingw msys).
...
llvm-svn: 144887
2011-11-17 07:21:33 +00:00
NAKAMURA Takumi
9a9ec73665
Revert r134898, "test/Frontend/dependency-gen.c: Mark XFAIL: mingw due to PR10331. to appease mingw-target (and non-mingw-host) builds.
...
PR10331 is still alive I suppose.
llvm-svn: 134931
2011-07-11 22:34:14 +00:00
NAKAMURA Takumi
7392a5f92f
test/Frontend/dependency-gen.c: Mark XFAIL: mingw due to PR10331.
...
llvm-svn: 134898
2011-07-11 16:21:28 +00:00
Eli Friedman
f7ca26a077
Fix up dependency file name printing to more closely match that of gcc, including fixing a nasty recent regression that could make us print "/foo.h" with a command-line including "-I ./".
...
rdar://problem/9734352
llvm-svn: 134728
2011-07-08 20:17:28 +00:00
NAKAMURA Takumi
f5ea88b8ab
test: Add the feature "shell". Frontend/dependency-gen.c would be executable with shell.
...
The feature "shell" is implemented in llvm/test.
llvm-svn: 126646
2011-02-28 09:41:07 +00:00
Chandler Carruth
f8da8c7fa7
Tweak this test a bit further to make it easier on grep. Who knows what
...
characters get dropped into the regular expression from %t.
llvm-svn: 126361
2011-02-24 02:39:40 +00:00
Chandler Carruth
220617c1ba
Clean up the CMake test execution by nuking this directory before we try
...
to create it. Lit doesn't apparently clean up test directories
effectively, and so this broke randomly on subsequent runs.
Also XFAIL the test on windows, as there's not much hope for these
commands doing the right thing there.
Paired with Nick Lewycky.
llvm-svn: 126344
2011-02-23 23:52:14 +00:00
Nick Lewycky
3607989847
Preserve what the user passed to -include when emitting .d files. Fixes PR8974!
...
llvm-svn: 126334
2011-02-23 21:16:44 +00:00
Daniel Dunbar
5618e98f33
Update tests to use %clang instead of 'clang', and forcibly disable use of '
...
clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to
garbage).
llvm-svn: 91460
2009-12-15 22:01:24 +00:00
Daniel Dunbar
8b57697954
Eliminate &&s in tests.
...
- 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious.
llvm-svn: 86430
2009-11-08 01:45:36 +00:00
Daniel Dunbar
2fd33fe701
Don't run anything other than the compiler in these tests.
...
llvm-svn: 86134
2009-11-05 15:28:24 +00:00
Daniel Dunbar
eec7d75a4e
Fix tests to not depend on /dev/null existing.
...
llvm-svn: 85908
2009-11-03 17:56:18 +00:00
Daniel Dunbar
6bdd19a7e2
Change these tests to not depend as much on the name of the input.
...
llvm-svn: 77057
2009-07-25 09:01:12 +00:00
Daniel Dunbar
759b1c9b80
Fix -MD with no -MT when -o is specified (and fix test case).
...
llvm-svn: 68042
2009-03-30 17:59:58 +00:00
Daniel Dunbar
d67a32252c
Driver: Support -M and -MM.
...
- Not particularly elegant, but my hand is forced by gcc.
Also, tweak -ccc-print-bindings output.
llvm-svn: 68027
2009-03-30 06:36:42 +00:00
Daniel Dunbar
52e96cc932
Improve dependency file support.
...
- Rip out various bits of logic from clang-cc's dependency file gen,
force driver to provide instead.
- -MD output now goes to proper location
<rdar://problem/6723948> clang -MD puts dep file in /tmp with wrong name
- -M and -MM still don't work correctly.
llvm-svn: 68022
2009-03-30 00:34:04 +00:00
Daniel Dunbar
a45cf5b6b0
Rename clang to clang-cc.
...
Tests and drivers updated, still need to shuffle dirs.
llvm-svn: 67602
2009-03-24 02:24:46 +00:00
Daniel Dunbar
51adf5824e
Rename lib/Driver (etc) to lib/Frontend in prep for the *actual*
...
driver taking lib/Driver.
llvm-svn: 65811
2009-03-02 06:16:29 +00:00