diff options
author | Adam Lindberg <[email protected]> | 2012-02-06 11:57:35 +0100 |
---|---|---|
committer | Adam Lindberg <[email protected]> | 2012-02-28 14:59:32 +0100 |
commit | 659fcc5ebd03b72a4081bf0853538800ddf16f86 (patch) | |
tree | 4353be135a4cd2e718d5a918cf3e06cd5c925743 /lib/asn1/test/testContextSwitchingTypes.erl | |
parent | aa4e27ebac9eb287069fab859fe5dcdab82c75bf (diff) | |
download | otp-659fcc5ebd03b72a4081bf0853538800ddf16f86.tar.gz otp-659fcc5ebd03b72a4081bf0853538800ddf16f86.tar.bz2 otp-659fcc5ebd03b72a4081bf0853538800ddf16f86.zip |
[asn1] Parallelize test suites
Diffstat (limited to 'lib/asn1/test/testContextSwitchingTypes.erl')
-rw-r--r-- | lib/asn1/test/testContextSwitchingTypes.erl | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/asn1/test/testContextSwitchingTypes.erl b/lib/asn1/test/testContextSwitchingTypes.erl index 66c1e831c3..4f67942922 100644 --- a/lib/asn1/test/testContextSwitchingTypes.erl +++ b/lib/asn1/test/testContextSwitchingTypes.erl @@ -19,21 +19,10 @@ %% -module(testContextSwitchingTypes). --export([compile/3]). -export([test/1]). -include_lib("test_server/include/test_server.hrl"). - -compile(Config,Rules,Options) -> - - ?line DataDir = ?config(data_dir,Config), - ?line OutDir = ?config(priv_dir,Config), - ?line true = code:add_patha(?config(priv_dir,Config)), - ?line ok = asn1ct:compile(DataDir ++ "ContextSwitchingTypes", - [Rules,{outdir,OutDir}]++Options). - - test(Config) -> ?line ValT = 'ContextSwitchingTypes':'val1-T'(), ?line {ok,Bytes1} = @@ -42,7 +31,7 @@ test(Config) -> asn1_wrapper:decode('ContextSwitchingTypes','T',Bytes1), ?line ok = check_EXTERNAL(Result1), ?line {ok,ValT2} = asn1ct:value('ContextSwitchingTypes','T', - [{i, ?config(priv_dir, Config)}]), + [{i, ?config(case_dir, Config)}]), ?line {ok,Bytes1_2} = asn1_wrapper:encode('ContextSwitchingTypes','T',ValT2), ?line {ok,Result1_2} = |