The testclock2.mod test should not change the system time.
(Even if it is to the current time).
gcc/testsuite/ChangeLog:
* gm2/iso/run/pass/testclock2.mod: Remove ability to
change the system clock.
Signed-off-by: Gaius Mulley <[email protected]>
---
gcc/testsuite/gm2/iso/run/pass/testclock2.mod | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/gcc/testsuite/gm2/iso/run/pass/testclock2.mod
b/gcc/testsuite/gm2/iso/run/pass/testclock2.mod
index c80faff8aef..15c672ec017 100644
--- a/gcc/testsuite/gm2/iso/run/pass/testclock2.mod
+++ b/gcc/testsuite/gm2/iso/run/pass/testclock2.mod
@@ -10,12 +10,10 @@ BEGIN
SysClock.GetClock (dt) ;
IF SysClock.CanSetClock ()
THEN
- STextIO.WriteString ("success we can set the clock") ;
STextIO.WriteLn ;
- SysClock.SetClock (dt)
+ STextIO.WriteString ("we can set the clock, but we won't in the
testsuite") ; STextIO.WriteLn
ELSE
STextIO.WriteString ("unable to set the clock") ; STextIO.WriteLn
END
- ; SysClock.SetClock (dt)
ELSE
STextIO.WriteString ("unable to get the clock") ; STextIO.WriteLn
END
--
2.47.3