mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-28 22:57:06 +00:00
try to run the integration-test-suite
This commit is contained in:
parent
0261307bc4
commit
520928c6df
3
debian/tests/control
vendored
3
debian/tests/control
vendored
@ -5,6 +5,9 @@ Depends: @, cmake, g++, file, dpkg-dev
|
|||||||
# clang-10-dbgsym, libclang1-10-dbgsym
|
# clang-10-dbgsym, libclang1-10-dbgsym
|
||||||
Restrictions: allow-stderr
|
Restrictions: allow-stderr
|
||||||
|
|
||||||
|
Tests: integration-test-suite-test
|
||||||
|
Depends: @, cmake, libstdc++-9-dev
|
||||||
|
Restrictions: allow-stderr
|
||||||
|
|
||||||
Tests: cmake-test
|
Tests: cmake-test
|
||||||
Depends: gcc, build-essential, cmake, llvm-10-dev, libclang-common-10-dev
|
Depends: gcc, build-essential, cmake, llvm-10-dev, libclang-common-10-dev
|
||||||
|
37
debian/tests/integration-test-suite-test
vendored
Executable file
37
debian/tests/integration-test-suite-test
vendored
Executable file
@ -0,0 +1,37 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# this is taken from libjsoncpp package
|
||||||
|
# Presence of $ADTTMP implies that someone will handle cleanup for us, so we
|
||||||
|
# can avoid duplicating the effort (signal handling, etc.) here.
|
||||||
|
if [ -z "$ADTTMP" ]
|
||||||
|
then
|
||||||
|
echo "Required envvar ADTTMP \"$ADTTMP\" is not set" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Copy the integration repo to the temp dir
|
||||||
|
cp -Rv integration-test-suite/* "$ADTTMP"/
|
||||||
|
cd "$ADTTMP"
|
||||||
|
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -DLIT=/usr/lib/llvm-10/build/utils/lit/lit.py \
|
||||||
|
-DCLANG_BINARY=/usr/bin/clang-10 \
|
||||||
|
-DCLANGXX_BINARY=/usr/bin/clang++-10 \
|
||||||
|
-DCLANG_TIDY_BINARY=/usr/bin/clang-tidy-10 \
|
||||||
|
-DCLANG_FORMAT_BINARY=/usr/bin/clang-format-10 \
|
||||||
|
-DLLD_BINARY=/usr/bin/lld-10 \
|
||||||
|
-DLLDB_BINARY=/usr/bin/lldb-10 \
|
||||||
|
-DLLVMCONFIG_BINARY=/usr/bin/llvm-config-10 \
|
||||||
|
-DOPT_BINARY=/usr/bin/opt-10 \
|
||||||
|
-DSCANBUILD=/usr/bin/scan-build-10 \
|
||||||
|
-DCLANG_TIDY_BINARY=/usr/bin/clang-tidy-10 \
|
||||||
|
-DSCANVIEW=/usr/bin/scan-view-10 \
|
||||||
|
-DLLVMNM=/usr/bin/llvm-nm-10 \
|
||||||
|
-DLLVMPROFDATA=/usr/bin/llvm-profdata-10 \
|
||||||
|
-DENABLE_COMPILER_RT=OFF \
|
||||||
|
-DENABLE_LIBCXX=ON \
|
||||||
|
-DLLVM_CMAKE_PREFIX_PATH=/usr/lib/llvm-10/lib/cmake/ ../
|
||||||
|
make check
|
Loading…
Reference in New Issue
Block a user