aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2025-09-08 19:18:59 +0200
committerEric Botcazou <ebotcazou@adacore.com>2025-09-08 19:18:59 +0200
commit7640cc5ef80afae9b65afcca96e1eb2b9e513c21 (patch)
tree2e2abbbf7a1c2f29a3e473d9fd3769b6921f3954 /gcc
parent4eb12ddd32d53ef55c2bd9bb03db057f096fff8f (diff)
downloadgcc-7640cc5ef80afae9b65afcca96e1eb2b9e513c21.zip
gcc-7640cc5ef80afae9b65afcca96e1eb2b9e513c21.tar.gz
gcc-7640cc5ef80afae9b65afcca96e1eb2b9e513c21.tar.bz2
Testsuite: Fix spurious of ACATS-4 test cxai033
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ada/acats-4/tests/cxa/cxai033.a4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/ada/acats-4/tests/cxa/cxai033.a b/gcc/testsuite/ada/acats-4/tests/cxa/cxai033.a
index 90bd3f6..921655b 100644
--- a/gcc/testsuite/ada/acats-4/tests/cxa/cxai033.a
+++ b/gcc/testsuite/ada/acats-4/tests/cxa/cxai033.a
@@ -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