Skip to content

Commit 16a0f2b

Browse files
committed
Merge branch 'code-cleanup' into develop
* code-cleanup: Remove unused verbose option Remove unnecessary comment headers Remove unused function declarations
2 parents 94528c3 + fa94f03 commit 16a0f2b

File tree

4 files changed

+0
-52
lines changed

4 files changed

+0
-52
lines changed

cmdline.ggo

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ option "num-threads" j "number of additional threads to execute the tests" int d
1616
option "report" r "level of detail for test report" values="summary","run","full" default="summary"
1717
option "execution-mode" x "level of correctness testing" values="disabled","strict","relaxed" default="relaxed"
1818

19-
option "verbose" v "enable verbose output for debugging purpose"
2019
option "list" l "list all available tests, communicators, datatypes and corresponding classes"

mpi_test_suite.c

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616

1717
#include "cmdline.h"
1818

19-
/****************************************************************************/
20-
/** **/
21-
/** DEFINITIONS AND MACROS **/
22-
/** **/
23-
/****************************************************************************/
24-
25-
/****************************************************************************/
26-
/** **/
27-
/** TYPEDEFS AND STRUCTURES **/
28-
/** **/
29-
/****************************************************************************/
30-
31-
/****************************************************************************/
32-
/** **/
33-
/** PROTOTYPES OF LOCAL FUNCTIONS **/
34-
/** **/
35-
/****************************************************************************/
36-
3719

3820
/****************************************************************************/
3921
/** **/
@@ -42,7 +24,6 @@
4224
/****************************************************************************/
4325
int tst_global_rank = 0;
4426
int tst_global_size = 0;
45-
int tst_verbose = 0;
4627
int tst_atomic = 0;
4728
tst_report_types tst_report = TST_REPORT_RUN;
4829
tst_mode_types tst_mode = TST_MODE_RELAXED;
@@ -417,10 +398,6 @@ int main (int argc, char * argv[])
417398
tst_atomic = 1;
418399
}
419400

420-
if(args_info.verbose_given) {
421-
tst_verbose = 1;
422-
}
423-
424401
#ifdef HAVE_MPI2_THREADS
425402
if (num_threads <= 0) {
426403
printf ("Error: Number of threads must be greater than 0 (given %d)\n", num_threads);

mpi_test_suite.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ struct tst_mpi_type_mix_array {
368368

369369
extern int tst_global_rank;
370370
extern int tst_global_size;
371-
extern int tst_verbose;
372371
extern int tst_atomic;
373372

374373
extern const char * tst_reports[];

tst_output.c

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,33 +16,6 @@
1616
#include "mpi_test_suite.h"
1717

1818

19-
20-
/* Function to replace substrings in a string
21-
*
22-
* Parameters:
23-
* char * search string to search for
24-
* char * replace replacement for searchstring
25-
* char * string pointer on string to search through
26-
* char * result[] place to store pointer of the result string
27-
*
28-
* Results:
29-
* Success: number of replacements
30-
*/
31-
static int tst_output_str_replace(char *search, char *replace, char *string, char **result);
32-
33-
34-
/* Function to mask special chars for latex in a string
35-
*
36-
* Parameters:
37-
* char * string string to escape
38-
* char * result[] place to store pointer of the result string
39-
* Result:
40-
* Success: Number of replacements
41-
* Fail: -1
42-
*/
43-
static int tst_output_latex_special_chars(char *string, char **result);
44-
45-
4619
/****************************************************************************/
4720
/** **/
4821
/** GLOBAL VARIABLES **/

0 commit comments

Comments
 (0)