Commits

Anonymous committed 2dda545

Added a test target to the makefile and got it to pass properly.

Comments (0)

Files changed (3)

rand-seed-serve/libseedserve/Makefile.am

 INCLUDES = $(GLIB_CFLAGS)
 LDADD = $(GLIB_LIBS)
 
+EXTRA_DIST = test-grand.t test-seedserve.t temp/meaningless.txt
+
+test: seedserve-run libgrand_seedserve.la libseedserve.la grand-test-output.good.txt grand-test-experiment
+	PERL_DL_NONLAZY=1 perl "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE))" test-seedserve.t test-grand.t
+

rand-seed-serve/libseedserve/temp/meaningless.txt

Empty file added.

rand-seed-serve/libseedserve/test-grand.t

 
 $ENV{'SEEDSERVE_PORT'} = $port;
 
-$ENV{'LD_PRELOAD'} = getcwd()."/libgrand_seedserve.so";
+$ENV{'LD_PRELOAD'} = getcwd()."/.libs/libgrand_seedserve.so";
 
 # The eval { } is to trap exceptions, so we can safely stop the server at 
 # cleanup.