[gcc r16-9437] Objective-C++: Parallelize the tests.

Iain D Sandoe via Gcc-cvs <[email protected]> Wed, 29 Jul 2026 21:42:34 +0000 (GMT)
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:18d1002e52e026bb0078fec68cbb22fa64f24aa8

commit r16-9437-g18d1002e52e026bb0078fec68cbb22fa64f24aa8
Author: Iain Sandoe <[email protected]>
Date:   Tue Jun 23 10:53:18 2026 +0100

    Objective-C++: Parallelize the tests.
    
    Although this is a small testsuite, waiting for it to complete
    when debugging Objective-C issues is unproductive.  Keep the number
    of parallel tests to 6, as per Objective-C.
    
    gcc/objcp/ChangeLog:
    
            * Make-lang.in: Test in parallel with up to 6 instances.
    
    Signed-off-by: Iain Sandoe <[email protected]>
    (cherry picked from commit f5d723ae07924307e5e9e6939112aed886f4aceb)

Diff:
---
 gcc/objcp/Make-lang.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/objcp/Make-lang.in b/gcc/objcp/Make-lang.in
index 92e90bf44bd9..7beb93798179 100644
--- a/gcc/objcp/Make-lang.in
+++ b/gcc/objcp/Make-lang.in
@@ -140,6 +140,8 @@ obj-c++.tags: force
 	$(ETAGS) --include TAGS.sub --include ../TAGS.sub
 
 lang_checks += check-obj-c++
+lang_checks_parallelized += check-obj-c++
+check_obj-c++_parallelize = 6
 
 # No objc-c++-specific selftests
 selftest-obj-c++: