Skip to content
Snippets Groups Projects
Commit 3b2e78db authored by Morris Jette's avatar Morris Jette
Browse files

Add DejaGnu (make check) README, minor change to Makefiles

parent 19f70042
No related branches found
No related tags found
No related merge requests found
Deja Gnu Unit Tests
1. These tests execute only when Slurm is built directly in the source
directory, not when a separate build directory is used.
2. Insure the "expect", "dejagnu" and "check" packages are installed.
3. From the top level source directory, execute "make check", which builds
the executable files including various src/common/*.o files that will be
unit tested.
3. Change working directory to "testsuite/slurm_unit".
4. Execute "make check" to execute the unit tests.
......@@ -14,7 +14,6 @@ TESTS = \
if HAVE_CHECK
MYCFLAGS = @CHECK_CFLAGS@ -Wall -ansi -pedantic -std=c99
MYCFLAGS += -D_ISO99_SOURCE -Wunused-but-set-variable
MYCFLAGS += -I$(top_srcdir)/src/common
MYCFLAGS += $(top_builddir)/src/common/libcommon.la
TESTS += xtree-test \
xhash-test
......
......@@ -378,7 +378,6 @@ LDADD = $(top_builddir)/src/api/libslurm.o $(DL_LIBS) $(HWLOC_LIBS)
@HAVE_CHECK_TRUE@MYCFLAGS = @CHECK_CFLAGS@ -Wall -ansi -pedantic \
@HAVE_CHECK_TRUE@ -std=c99 -D_ISO99_SOURCE \
@HAVE_CHECK_TRUE@ -Wunused-but-set-variable \
@HAVE_CHECK_TRUE@ -I$(top_srcdir)/src/common \
@HAVE_CHECK_TRUE@ $(top_builddir)/src/common/libcommon.la
@HAVE_CHECK_TRUE@xtree_test_CFLAGS = $(MYCFLAGS)
@HAVE_CHECK_TRUE@xtree_test_LDADD = @CHECK_LIBS@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment