File tree Expand file tree Collapse file tree 5 files changed +12
-6
lines changed Expand file tree Collapse file tree 5 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- set -ex
3+ set -e
44
55DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null && pwd ) "
66
2424
2525cd ${unittests_build_dir}
2626
27+ echo " Building unit tests for ${project_name} "
28+
2729cmake \
2830 -G Ninja \
2931 -DCMAKE_C_COMPILER=clang \
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- set -ex
3+ set -e
44
55DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null && pwd ) "
66
@@ -31,6 +31,8 @@ grep -q -F "add_subdirectory(${project_name})" \
3131 || echo " add_subdirectory(${project_name} )" \
3232 >> ../llvm/tools/clang/tools/extra/CMakeLists.txt
3333
34+ echo " Building ${project_name} "
35+
3436cmake \
3537 -G Ninja \
3638 -DCMAKE_C_COMPILER=clang \
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- set -ex
3+ set -e
44
55DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null && pwd ) "
66
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- set -ex
3+ set -e
44
55DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null && pwd ) "
66
@@ -10,6 +10,8 @@ source ${DIR}/project-name.sh
1010# Build and run the unit tests
1111source ${DIR} /docker-build-unittests.sh
1212
13+ echo " Running unit tests for ${project_name} "
14+
1315${unittests_build_dir} /test-${project_name}
1416
1517# Build the application
@@ -22,6 +24,8 @@ mkdir -p ${test_dir}
2224test_project_dir=${test_dir} /project1
2325ln -sfn ${llvm_root_dir} /llvm/tools/clang/tools/extra/${project_name} /test/project1 ${test_project_dir}
2426
27+ echo " Running integration tests for ${project_name} "
28+
2529${llvm_build_dir} /bin/${project_name} \
2630 -json ${llvm_build_dir} /${project_name} _results.json \
2731 -p ${test_project_dir} /build/ \
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- set -ex
4-
53project_name=" check-cpp-api"
You can’t perform that action at this time.
0 commit comments