From 3d44429177a7dbdac5662433cfc55f5b5113a959 Mon Sep 17 00:00:00 2001 From: Richard Carlsson Date: Tue, 17 Apr 2018 14:11:34 +0200 Subject: Add ct:get_progname/0 This replaces all uses of lib:progname/0 in tests. --- lib/common_test/doc/src/ct.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/common_test/doc/src/ct.xml') diff --git a/lib/common_test/doc/src/ct.xml b/lib/common_test/doc/src/ct.xml index afd8741cd1..3d35ae4f54 100644 --- a/lib/common_test/doc/src/ct.xml +++ b/lib/common_test/doc/src/ct.xml @@ -571,6 +571,16 @@ + + get_progname() -> string() + Returns the command used to start this Erlang instance. + +

Returns the command used to start this Erlang instance. + If this information could not be found, the string + "no_prog_name" is returned.

+
+
+ get_status() -> TestStatus | {error, Reason} | no_tests_running Returns status of ongoing test. -- cgit v1.2.3