]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Testsuite: Fix spurious of ACATS-4 test cxai033
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 8 Sep 2025 17:18:59 +0000 (19:18 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Mon, 8 Sep 2025 17:18:59 +0000 (19:18 +0200)
This tentatively applies the same tweak as in other similar cases.

gcc/testsuite/
PR ada/121532
* ada/acats-4/tests/cxa/cxai033.a: Use Long_Switch_To_New_Task
constant instead of Switch_To_New_Task in delay statements.

gcc/testsuite/ada/acats-4/tests/cxa/cxai033.a

index 90bd3f60279e0d2e2ee093915d4867e2742ffbc4..921655bcc6243dd4c1860dd9ca18285003253f93 100644 (file)
@@ -116,7 +116,7 @@ begin
 
    -- Give time for Reader_1 to activate.
 
-   delay Impdef.Switch_To_New_Task;
+   delay Impdef.Long_Switch_To_New_Task;
 
    if not Reader_1_Blocked then
 
@@ -145,7 +145,7 @@ begin
 
       -- Give time for Writer_1 to activate;
 
-      delay Impdef.Switch_To_New_Task;
+      delay Impdef.Long_Switch_To_New_Task;
 
       if Reader_1_Blocked then