Add a more functional (i.e. fewer-stubs) implementation of System.Data.Linq.
[mono.git] / mono / tests / cas / demand / Makefile.am
index b3ca85c82322e58714620d8d1ba4d74c7b23b44d..d563e7813a1d1c8e0d6bfc7b7feda1e7791e21ed 100644 (file)
@@ -1,10 +1,13 @@
-with_mono_path = MONO_PATH=$(mcs_topdir)/class/lib/default
+with_mono_path = MONO_PATH=$(mcs_topdir)/class/lib/net_1_1
 with_mono_path2 = MONO_PATH=$(mcs_topdir)/class/lib/net_2_0
 
-RUNTIME = $(with_mono_path) $(top_builddir)/runtime/mono-wrapper --debug --security
-RUNTIME2 = $(with_mono_path2) $(top_builddir)/runtime/mono-wrapper --debug --security
+RUNTIME = $(with_mono_path) $(top_builddir)/runtime/mono-wrapper --debug
+RUNTIME2 = $(with_mono_path2) $(top_builddir)/runtime/mono-wrapper --debug
 
-CSCOMPILE = $(RUNTIME) $(mcs_topdir)/class/lib/default/mcs.exe -debug
+CAS_RUNTIME = $(RUNTIME) --security
+CAS_RUNTIME2 = $(RUNTIME2) --security
+
+CSCOMPILE = $(RUNTIME) $(mcs_topdir)/class/lib/net_1_1/mcs.exe -debug
 PROFILE = net_1_1
 
 EXTRA_DIST = pinvoke1.cs pinvoke2.cs pinvoke3.cs \
@@ -27,17 +30,17 @@ UNHANDLED_TEST_FILES =
 
 run: tests
        @for i in $(FULLTRUST_TEST_FILES); do   \
-               $(RUNTIME) $$i.exe;     \
+               $(CAS_RUNTIME) $$i.exe; \
        done;
        @for i in $(INTERNET_TEST_FILES); do    \
-               MONO_CAS_ZONE=Internet $(RUNTIME) $$i.exe;      \
+               MONO_CAS_ZONE=Internet $(CAS_RUNTIME) $$i.exe;  \
        done;
 
 test: tests
        @failed=0; \
        passed=0; \
        for i in $(FULLTRUST_TEST_FILES); do    \
-               $(RUNTIME) $$i.exe > /dev/null; \
+               $(CAS_RUNTIME) $$i.exe > /dev/null;     \
                if [ "$$?" = "0" ]; then        \
                        echo -e "fulltrust-$$i\tpass";  \
                        passed=`expr $${passed} + 1`; \
@@ -48,7 +51,7 @@ test: tests
                fi;     \
        done;   \
        for i in $(UNHANDLED_TEST_FILES); do    \
-               $(RUNTIME) $$i.exe > /dev/null; \
+               $(CAS_RUNTIME) $$i.exe > /dev/null;     \
                if [ "$$?" = "0" ]; then        \
                        echo -e "unhandled-$$i\tFAIL ($$?)";    \
                        failed=`expr $${failed} + 1`; \