Fix test target for mono-shlib-cop
authorMarek Safar <marek.safar@gmail.com>
Tue, 22 May 2012 07:14:40 +0000 (08:14 +0100)
committerMarek Safar <marek.safar@gmail.com>
Tue, 22 May 2012 07:16:02 +0000 (08:16 +0100)
mcs/tools/mono-shlib-cop/Makefile

index d65d7053bb7a6afe546466bdb3f64717eeba53e4..ec9d5a2a87d37a997decf3aa5b6dd288b4957cf5 100644 (file)
@@ -12,8 +12,6 @@ EXTRA_DISTFILES = test.cs
 
 include ../../build/executable.make
 
-test-local: $(PROGRAM) $(TEST_INPUT)
-
 clean-local: cleanup
 
 cleanup:
@@ -21,9 +19,8 @@ cleanup:
 
 run-test-local: run-mono-shlib-cop-test
 
-run-mono-shlib-cop-test: $(PROGRAM) $(TEST_INPUT)
-       $(RUNTIME) $(PROGRAM) $(TEST_INPUT) | diff - test.dll.out
+run-mono-shlib-cop-test: $(the_lib) $(TEST_INPUT)
+       $(RUNTIME) $(the_lib) $(TEST_INPUT) | diff - test.dll.out
 
 $(TEST_INPUT) : test.cs
        $(CSCOMPILE) -target:library $< -out:$@
-