Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add ctest directory for Common Test suites

  • Loading branch information...
commit 247a4b733beb4f4c7dd4b473c881a4862ce5861e 1 parent 8c4cc76
@jaynel jaynel authored
View
1  .gitignore
@@ -1,4 +1,5 @@
.eunit
+*.beam
deps
ebin
*~
View
7 Makefile
@@ -9,7 +9,7 @@ compile:
@./rebar compile
dialyze: all
- dialyzer -Wrace_conditions ebin
+ @dialyzer -Wrace_conditions ebin
gc: crash
@echo 'Removing all emacs backup files'
@@ -38,4 +38,7 @@ test: all
ERL_LIBS=$(CURDIR):$(CURDIR)/deps ./rebar skip_deps=true eunit
eunit:
- make test
+ @make test
+
+ct:
+ @(cd ctest; ct_run -spec coop.spec)
View
4 ctest/coop.spec
@@ -0,0 +1,4 @@
+{alias, coop, "./coop/"}.
+{logdir, "./logs/"}.
+
+{suites, coop, all}.
View
21 ctest/coop/coop_SUITE.erl
@@ -0,0 +1,21 @@
+-module(coop_SUITE).
+
+-include_lib("common_test/include/ct.hrl").
+
+-export([all/0, init_per_testcase/2, end_per_testcase/2]).
+-export([pipeline/1]).
+
+all() -> [pipeline].
+
+%% init_per_suite(_Config) -> ok.
+%% init_per_group(Name, _Config) -> ok.
+init_per_testcase(pipeline, _Config) ->
+ ok.
+
+%% end_per_suite(_Config) -> ok.
+%% end_per_group(Name, _Config) -> ok.
+end_per_testcase(pipeline, _Config) ->
+ ok.
+
+pipeline(_Config) ->
+ 1 = 1.
View
3  ctest/logs/README
@@ -0,0 +1,3 @@
+Present to allow git to checkin the logs directory.
+Temporary files are written here to record the results
+of Common Test executions.
Please sign in to comment.
Something went wrong with that request. Please try again.