Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2018-09-27 22:36:23 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2018-09-27 23:47:05 +0300
commit01f56e7d4e569c96f2d4237d6d2ecfa341a3bc78 (patch)
tree11acc921a4011f0f5d05231212a23f055584a282 /mcs/class/System.Security/Makefile
parent8ce85205d90c76a235c8b87d43dc9072848a3af7 (diff)
[System.Security] Switch tests to use embedded test resources
Diffstat (limited to 'mcs/class/System.Security/Makefile')
-rw-r--r--mcs/class/System.Security/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/mcs/class/System.Security/Makefile b/mcs/class/System.Security/Makefile
index e349d9ae948..3b776595772 100644
--- a/mcs/class/System.Security/Makefile
+++ b/mcs/class/System.Security/Makefile
@@ -14,11 +14,7 @@ LIB_MCS_FLAGS = -unsafe -nowarn:414,618 -d:SECURITY_DEP
LOCAL_MCS_FLAGS =
-TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:168,169,183,219,414
-
-XTEST_LIB_REFS = System.Core System Facades/System.Linq Facades/System.Threading.Tasks
-
-EXTRA_DISTFILES = \
+TEST_RESOURCE_FILES = \
Test/System.Security.Cryptography.Xml/sample.pfx \
Test/System.Security.Cryptography.Xml/EncryptedXmlSample1.xml \
Test/System.Security.Cryptography.Xml/EncryptedXmlSample2.xml \
@@ -26,4 +22,10 @@ EXTRA_DISTFILES = \
Test/System.Security.Cryptography.Pkcs/detached.data \
Test/System.Security.Cryptography.Pkcs/detached.p7
+TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:168,169,183,219,414 $(foreach r, $(TEST_RESOURCE_FILES), -resource:$(r),$(r))
+
+XTEST_LIB_REFS = System.Core System Facades/System.Linq Facades/System.Threading.Tasks
+
+EXTRA_DISTFILES = $(TEST_RESOURCE_FILES)
+
include ../../build/library.make