Skip to content

Commit 36eac25

Browse files
committed
Use other means to run only the test we want
1 parent 4b4a919 commit 36eac25

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

libcxx/utils/ci/run-buildbot

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -700,11 +700,8 @@ clang-cl-dll)
700700
# anyway), thus just disable the experimental library. Remove this
701701
# setting when cmake and the test driver does the right thing automatically.
702702
generate-cmake-libcxx-win -DLIBCXX_TEST_PARAMS="enable_experimental=False"
703-
step "Building dependencies"
704-
${NINJA} -vC "${BUILD_DIR}" cxx-test-depends
705-
706-
step "Running tests"
707-
./libcxx/utils/libcxx-lit "${BUILD_DIR}" --show-all libcxx/test/std/re/re.traits/getloc.pass.cpp
703+
step "Running the libc++ tests"
704+
${NINJA} -vC "${BUILD_DIR}" check-cxx
708705
;;
709706
clang-cl-static)
710707
clean

libcxx/utils/libcxx/test/format.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ def execute(self, test, litConfig):
287287
supportsVerify = "verify-support" in test.config.available_features
288288
filename = test.path_in_suite[-1]
289289

290+
if filename != 'getloc.pass.cpp':
291+
return lit.Test.Result(lit.Test.UNSUPPORTED, "not the test we're looking for")
292+
290293
if re.search("[.]sh[.][^.]+$", filename):
291294
steps = [] # The steps are already in the script
292295
return self._executeShTest(test, litConfig, steps)

0 commit comments

Comments
 (0)