File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -2733,20 +2733,22 @@ for host in "${ALL_HOSTS[@]}"; do
2733
2733
fi
2734
2734
lldb_build_dir=$( build_directory ${host} lldb)
2735
2735
2736
- # Run the gtests.
2737
- if [[ " $( uname -s) " == " Darwin" && " $( true_false ${LLDB_BUILD_WITH_XCODE} ) " == " TRUE" ]] ; then
2738
- set_lldb_xcodebuild_options
2739
- # Run the LLDB unittests (gtests).
2740
- with_pushd ${LLDB_SOURCE_DIR} \
2741
- call xcodebuild -scheme lldb-gtest -configuration ${LLDB_BUILD_MODE} ${lldb_xcodebuild_options[@]}
2742
- rc=$?
2743
- if [[ " $rc " -ne 0 ]] ; then
2744
- >&2 echo " error: LLDB gtests failed"
2745
- exit 1
2736
+ if [[ ! " ${LLDB_TEST_SWIFT_ONLY} " ]]; then
2737
+ # Run the gtests.
2738
+ if [[ " $( uname -s) " == " Darwin" && " $( true_false ${LLDB_BUILD_WITH_XCODE} ) " == " TRUE" ]] ; then
2739
+ set_lldb_xcodebuild_options
2740
+ # Run the LLDB unittests (gtests).
2741
+ with_pushd ${LLDB_SOURCE_DIR} \
2742
+ call xcodebuild -scheme lldb-gtest -configuration ${LLDB_BUILD_MODE} ${lldb_xcodebuild_options[@]}
2743
+ rc=$?
2744
+ if [[ " $rc " -ne 0 ]] ; then
2745
+ >&2 echo " error: LLDB gtests failed"
2746
+ exit 1
2747
+ fi
2748
+ else
2749
+ with_pushd ${lldb_build_dir} \
2750
+ ${NINJA_BIN} check-lldb-unit
2746
2751
fi
2747
- else
2748
- with_pushd ${lldb_build_dir} \
2749
- ${NINJA_BIN} check-lldb-unit
2750
2752
fi
2751
2753
2752
2754
swift_build_dir=$( build_directory ${host} swift)
You can’t perform that action at this time.
0 commit comments