aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-02-06 13:13:40 +0100
committerBjörn Gustavsson <[email protected]>2013-02-06 13:15:25 +0100
commitce7542e6bc53d3d1ff34133cdf70a8db39e315b0 (patch)
tree4ab35d724ce0ce01881bcf246df30c357388707a /lib/asn1/test/asn1_SUITE.erl
parent24522845d50866782a939f3c8fbafa99e70d9f44 (diff)
downloadotp-ce7542e6bc53d3d1ff34133cdf70a8db39e315b0.tar.gz
otp-ce7542e6bc53d3d1ff34133cdf70a8db39e315b0.tar.bz2
otp-ce7542e6bc53d3d1ff34133cdf70a8db39e315b0.zip
Don't run testX420/1 on old slow Sparc systems
One and a half hour is not enough for it to finish.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE.erl')
-rw-r--r--lib/asn1/test/asn1_SUITE.erl7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl
index 9a6201455d..d264cf24f5 100644
--- a/lib/asn1/test/asn1_SUITE.erl
+++ b/lib/asn1/test/asn1_SUITE.erl
@@ -1064,7 +1064,12 @@ test_modified_x420(Config) ->
testX420() ->
[{timetrap,{minutes,90}}].
testX420(Config) ->
- test(Config, fun testX420/3, [ber, ber_bin, ber_bin_v2]).
+ case erlang:system_info(system_architecture) of
+ "sparc-sun-solaris2.10" ->
+ {skip,"Too slow for an old Sparc"};
+ _ ->
+ test(Config, fun testX420/3, [ber, ber_bin, ber_bin_v2])
+ end.
testX420(Config, Rule, Opts) ->
testX420:compile(Rule, [der|Opts], Config),
ok = testX420:ticket7759(Rule, Config),