diff options
| author | Andre Weissflog <floooh@gmail.com> | 2022-11-19 21:41:33 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2022-11-19 21:41:33 +0100 |
| commit | 56884e76a1503bcd83177f28d70a5aeb0f8a68a3 (patch) | |
| tree | e89b842ba289299c7d0ade70d9c1607002499be2 /tests | |
| parent | 887d9e10e278cf2069dbeebb9ece4b81a83eada9 (diff) | |
fix Linux tests
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_common.sh | 10 | ||||
| -rwxr-xr-x | tests/test_linux.sh | 15 |
2 files changed, 7 insertions, 18 deletions
diff --git a/tests/test_common.sh b/tests/test_common.sh index 6708a16b..027926c6 100644 --- a/tests/test_common.sh +++ b/tests/test_common.sh @@ -34,16 +34,6 @@ build() { # cd tests } -build_force_egl() { - cfg=$1 - backend=$2 - mode=$3 - mkdir -p build/$cfg && cd build/$cfg - cmake -GNinja -DSOKOL_BACKEND=$backend -DSOKOL_FORCE_EGL=ON -DCMAKE_BUILD_TYPE=$mode ../.. - cmake --build . - cd ../.. -} - analyze() { cfg=$1 backend=$2 diff --git a/tests/test_linux.sh b/tests/test_linux.sh index 5cd86e70..b7b27137 100755 --- a/tests/test_linux.sh +++ b/tests/test_linux.sh @@ -1,12 +1,11 @@ #!/usr/bin/env bash set -e -source test_common.sh +source tests/test_common.sh prepare -build linux_gl_debug SOKOL_GLCORE33 Debug -build linux_gl_release SOKOL_GLCORE33 Release -build linux_gles3_debug SOKOL_GLES3 Debug -build linux_gles3_release SOKOL_GLES3 Release -build_force_egl linux_gl_egl_debug SOKOL_GLCORE33 Debug -build_force_egl linux_gl_egl_release SOKOL_GLCORE33 Release +build linux_gl_debug linux_gl_debug +build linux_gl_release linux_gl_release +build linux_gles3_debug linux_gles3_debug +build linux_gles3_release linux_gles3_release +build_force_egl linux_gl_egl_debug linux_gl_egl_debug +build_force_egl linux_gl_egl_release linux_gl_egl_release runtest linux_gl_debug - |