Revision 1d4b5b6fd2433a10cc7ab87626cb560f54b0acbb authored by Yong He on 03 September 2023, 19:56:31 UTC, committed by GitHub on 03 September 2023, 19:56:31 UTC
* Proper lowering of functiosn that returns NonCopyable values. * Fix tests. * Fix clang errors. * Fix. * Fix clang error. --------- Co-authored-by: Yong He <yhe@nvidia.com>
1 parent 355bb42
github_test.sh
#!/usr/bin/env bash
PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]')
ARCHITECTURE=$(uname -m)
# Darwin is actually macosx (for paths etc)
if [ "${PLATFORM}" == "darwin" ]; then
PLATFORM="macosx"
# Modern OSX is only 64 bit, so assume that
if [ "${ARCHITECTURE}" == "i386" ]; then
ARCHITECTURE="x64"
fi
fi
if [ "${ARCHITECTURE}" == "x86_64" ]; then
ARCHITECTURE="x64"
fi
# CONFIGURATION=release or debug
if [ "${CC}" == "gcc" ] && [ "${CONFIGURATION}" == "release" ] && [ "${ARCHITECTURE}" == "x64" ]
then
SLANG_TEST_CATEGORY=full
else
SLANG_TEST_CATEGORY=smoke
fi
TARGET=${PLATFORM}-${ARCHITECTURE}
OUTPUTDIR=bin/${TARGET}/${CONFIGURATION}/
if [ "${ARCHITECTURE}" == "x64" -a "${PLATFORM}" != "macosx" ]; then
unzip vk_swiftshader_linux_x64.zip -d $OUTPUTDIR
fi
SLANG_TEST=${OUTPUTDIR}slang-test
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OUTPUTDIR
export PATH=$PATH:${OUTPUTDIR}
${SLANG_TEST} -bindir ${OUTPUTDIR} -travis -category ${SLANG_TEST_CATEGORY} ${SLANG_TEST_FLAGS} -api all-vk -expected-failure-list tests/expected-failure-github.txt
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...