Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 21f2765

Browse files
author
Philipp Tschannen
committed
Replace set -x by suitable echos
1 parent 53fe9e6 commit 21f2765

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

Docker/docker-build-unittests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
set -ex
3+
set -e
44

55
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
66

@@ -24,6 +24,8 @@ fi
2424

2525
cd ${unittests_build_dir}
2626

27+
echo "Building unit tests for ${project_name}"
28+
2729
cmake \
2830
-G Ninja \
2931
-DCMAKE_C_COMPILER=clang \

Docker/docker-build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
set -ex
3+
set -e
44

55
DIR="$( 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+
3436
cmake \
3537
-G Ninja \
3638
-DCMAKE_C_COMPILER=clang \

Docker/docker-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
set -ex
3+
set -e
44

55
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
66

Docker/docker-test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
set -ex
3+
set -e
44

55
DIR="$( 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
1111
source ${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}
2224
test_project_dir=${test_dir}/project1
2325
ln -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/ \

Docker/project-name.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
#!/usr/bin/env bash
22

3-
set -ex
4-
53
project_name="check-cpp-api"

0 commit comments

Comments
 (0)