diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2019-06-14 18:05:12 -0400 |
|---|---|---|
| committer | Tim Foley <tfoleyNV@users.noreply.github.com> | 2019-06-14 15:05:12 -0700 |
| commit | 1fe24d3a74a9cd51c4a025cd0e78642f3e29df79 (patch) | |
| tree | a52d2b1e05f0d22accbb70eb4bea69d7c67455a4 /tests/cross-compile | |
| parent | 8c56d83506ef92b15b15bdb5969008dd69c8d2a6 (diff) | |
Runtime Shared Library compilation and testing (#985)
* Removed the need for VisualStudio specific CPPCompiler
Improved the version parsing for gcc/clang
Removed need for slang-unix-cpp-compiler-util.cpp/.h
Remove binary before compiling in the compile c tests
* Moved VisualStudio calcArgs into CPPCompilerUtil - as code is not windows specific.
* Set up compile time version for gcc and clang
* Fix compilation on OSX - use remove instead of unlink for file deletion.
* On OSX - clang uses different string format.
* Removed /bin/sh invoking as not required for OSX.
* First pass working testing with shared libraries.
Diffstat (limited to 'tests/cross-compile')
| -rw-r--r-- | tests/cross-compile/c-compile.c | 10 | ||||
| -rw-r--r-- | tests/cross-compile/c-compile.c.expected | 6 |
2 files changed, 0 insertions, 16 deletions
diff --git a/tests/cross-compile/c-compile.c b/tests/cross-compile/c-compile.c deleted file mode 100644 index 2151f7474..000000000 --- a/tests/cross-compile/c-compile.c +++ /dev/null @@ -1,10 +0,0 @@ -//TEST(smoke):EXECUTE_C: - -#include <stdlib.h> -#include <stdio.h> - -int main(int argc, char** argv) -{ - printf("Hello World!\n"); - return 0; -} diff --git a/tests/cross-compile/c-compile.c.expected b/tests/cross-compile/c-compile.c.expected deleted file mode 100644 index 0e042b53b..000000000 --- a/tests/cross-compile/c-compile.c.expected +++ /dev/null @@ -1,6 +0,0 @@ -result code = 0 -standard error = { -} -standard output = { -Hello World! -} |
