Permalink
Browse files

Backport r89638 from trunk

svn path=/branches/mono-1-2-6/xsp/; revision=89808
  • Loading branch information...
2 parents b98ceaf + 4b89e43 commit b39eca1ed6164ad91286c4465926bf8daa91accc Wade Berrier committed Nov 16, 2007
View
@@ -0,0 +1,6 @@
+SUBDIRS = Tests.XSP.Security webroot
+
+EXTRA_DIST = ChangeLog NOACCESS README
+
+unittestsdir = $(pkglibdir)/unittests
+unittests_DATA = $(EXTRA_DIST)
No changes.
@@ -0,0 +1,19 @@
+noinst_SCRIPTS = Tests.XSP.Security.dll
+
+security_test_sources = DirectoryTraversalTest.cs FileExtensionsTest.cs WebTestHelper.cs
+
+CLEANFILES = Tests.XSP.Security.dll*
+EXTRA_DIST = $(security_test_sources)
+
+unittestsdir = $(pkglibdir)/unittests/Tests.XSP.Security
+unittests_DATA = $(security_test_sources) Tests.XSP.Security.dll Makefile
+
+Tests.XSP.Security.dll: $(security_test_sources)
+ mcs -debug -pkg:mono-nunit -out:$@ -t:library $(security_test_sources)
+
+run-test: Tests.XSP.Security.dll
+ nunit-console Tests.XSP.Security.dll
+
+run-test-local: Tests.XSP.Security.dll
+ XSP_TEST_HOST=localhost:8080 nunit-console Tests.XSP.Security.dll
+
@@ -0,0 +1,3 @@
+EXTRA_DIST = index.aspx
+unittestsdir = $(pkglibdir)/unittests/webroot
+unittests_DATA = $(EXTRA_DIST)

0 comments on commit b39eca1

Please sign in to comment.