summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorhristo <[email protected]>2021-01-25 11:44:30 +0200
committerGitHub <[email protected]>2021-01-25 10:44:30 +0100
commit4bf7b00013f7efe222d02171e176bb827a90fad9 (patch)
treebda85687fff7232a111a9ee3718f9965b24cf742 /cmake
parent1d23e1569219f22376144999de07900c7409d13f (diff)
downloadraylib-4bf7b00013f7efe222d02171e176bb827a90fad9.tar.gz
raylib-4bf7b00013f7efe222d02171e176bb827a90fad9.zip
Removing test file. (#1545)
This test file is just testing compilation with the library works correctly but is no longer needed because: - it is not cross platform - it taps into the CTest system which is better suited for real unit/integration tests - it can be incorporated into the pipeline of github actions instead in the future
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/test-pkgconfig.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/cmake/test-pkgconfig.sh b/cmake/test-pkgconfig.sh
deleted file mode 100755
index ccbdfb65..00000000
--- a/cmake/test-pkgconfig.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-# Test if including/linking/running an installed raylib works
-
-set -x
-export LD_RUN_PATH=/usr/local/lib
-
-CFLAGS="-Wall -Wextra -Werror $CFLAGS"
-if [ "$ARCH" = "i386" ]; then
-CFLAGS="-m32 $CLFAGS"
-fi
-
-cat << EOF | ${CC:-cc} -otest -xc - $(pkg-config --libs --cflags $@ raylib.pc) $CFLAGS && exec ./test
-#include <stdlib.h>
-#include <raylib.h>
-
-int main(void)
-{
- int num = GetRandomValue(42, 1337);
- return 42 <= num && num <= 1337 ? EXIT_SUCCESS : EXIT_FAILURE;
-}
-EOF