Skip to content

Commit

Permalink
add some documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rainers committed Nov 24, 2012
1 parent 9360515 commit 6ada20a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
3 changes: 3 additions & 0 deletions test/Makefile
Expand Up @@ -38,6 +38,8 @@
#
# REQUIRED_ARGS: arguments to add to the $(DMD) command line
# default: (none)
# note: the make variable REQUIRED_ARGS is also added to the $(DMD)
# command line (see below)
#
# DISABLED: text describing why the test is disabled (if empty, the test is
# considered to be enabled).
Expand Down Expand Up @@ -77,6 +79,7 @@ endif
QUIET=@
export RESULTS_DIR=test_results
export MODEL=32
export REQUIRED_ARGS=

ifeq ($(OS),win32)
export ARGS=-inline -release -g -O -unittest
Expand Down
17 changes: 9 additions & 8 deletions test/d_do_test.d
Expand Up @@ -24,15 +24,16 @@ void usage()
" example: d_do_test runnable pi d\n"
"\n"
" relevant environment variables:\n"
" ARGS: set to execute all combinations of\n"
" DMD: compiler to use, ex: ../src/dmd\n"
" OS: win32, linux, freebsd, osx\n"
" RESULTS_DIR: base directory for test results\n"
" ARGS: set to execute all combinations of\n"
" REQUIRED_ARGS: arguments always passed to the compiler\n"
" DMD: compiler to use, ex: ../src/dmd\n"
" OS: win32, linux, freebsd, osx\n"
" RESULTS_DIR: base directory for test results\n"
" windows vs non-windows portability env vars:\n"
" DSEP: \\\\ or /\n"
" SEP: \\ or /\n"
" OBJ: .obj or .o\n"
" EXE: .exe or <null>\n");
" DSEP: \\\\ or /\n"
" SEP: \\ or /\n"
" OBJ: .obj or .o\n"
" EXE: .exe or <null>\n");
}

enum TestMode
Expand Down

0 comments on commit 6ada20a

Please sign in to comment.