[cfe-dev] LIT test that links and runs the executable?
Gabor Kozar
kozargabor at gmail.com
Fri Oct 24 09:58:35 PDT 2014
In our fork of clang, we a bunch of tests that require the compiled
test program to be executed. I tried creating a lit test with a RUN
command like so:
> // RUN: %clang %s ... -o %t.exe // RUN: %t.exe
This works fine on Linux, but on Windows I get:
> Command 0 Stderr: clang.EXE: error: unable to execute command: program
> not executable clang.EXE: error: linker command failed with exit code
> 1 (use -v to see invocation)
(The test script never even gets to the second RUN line.)
Running the clang command manually (that llvm-lit -v outputs) works
fine. Any idea what could be the issue?
---
Best regards,
Gábor 'ShdNx' Kozár http://gaborkozar.me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141024/bcf77484/attachment.html>
More information about the cfe-dev
mailing list