aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/test/odbc.dynspec
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2011-05-30 08:25:42 +0200
committerIngela Anderton Andin <[email protected]>2011-05-30 08:58:49 +0200
commitb4e89a35e7a443df6f3cf282d5bbdca118bbc4f9 (patch)
tree0885be9d5b528ba912ca5c6b4c7c1552bc8df693 /lib/odbc/test/odbc.dynspec
parent7ae73012553fc54e84ad00fc00f7940cabf1edbb (diff)
downloadotp-b4e89a35e7a443df6f3cf282d5bbdca118bbc4f9.tar.gz
otp-b4e89a35e7a443df6f3cf282d5bbdca118bbc4f9.tar.bz2
otp-b4e89a35e7a443df6f3cf282d5bbdca118bbc4f9.zip
Modernized the test suites
Moved functionality of special specs odbc.dynspec and odbc.spec.win to the test suites.
Diffstat (limited to 'lib/odbc/test/odbc.dynspec')
-rw-r--r--lib/odbc/test/odbc.dynspec31
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/odbc/test/odbc.dynspec b/lib/odbc/test/odbc.dynspec
deleted file mode 100644
index bb15edceed..0000000000
--- a/lib/odbc/test/odbc.dynspec
+++ /dev/null
@@ -1,31 +0,0 @@
-%% -*- erlang -*-
-%% You can test this file using this command.
-%% file:script("odbc.dynspec", [{'Os',"Unix"}]).
-
-Exists =
-fun() ->
- case code:lib_dir(odbc) of
- {error,bad_name} ->
- false;
- P ->
- %% Make sure that the odbc directory really
- %% contains the application (and not only documentation).
- case filelib:is_file(filename:join(P, "ebin/odbc.beam")) of
- false -> false;
- true ->
- %% We know that we don't have any odbc libraries
- %% installed on this computer.
- {ok,Host} = inet:gethostname(),
- Host =/= "netsim200"
- end
- end
-end,
-case Exists() of
- false ->
- NoOdbc = "No odbc application",
- [{skip, {odbc_connect_SUITE, NoOdbc}},
- {skip, {odbc_data_type_SUITE, NoOdbc}},
- {skip, {odbc_query_SUITE, NoOdbc}}];
- true ->
- []
-end.