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:22 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2018-09-27 23:47:02 +0300
commitbd687b1b5be2876c8f0271f4d84182906a978048 (patch)
tree7474f86c4d62563167694a7e5d2d4cd100d371e8 /mcs/class/System.IO.Compression.FileSystem/Makefile
parentfcaee1689bda6e7096d994b0342f823b22cdb1b1 (diff)
[System.IO.Compression.FileSystem] Switch tests to use embedded test resources
Diffstat (limited to 'mcs/class/System.IO.Compression.FileSystem/Makefile')
-rw-r--r--mcs/class/System.IO.Compression.FileSystem/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mcs/class/System.IO.Compression.FileSystem/Makefile b/mcs/class/System.IO.Compression.FileSystem/Makefile
index c66c602fd91..73fb0a1faec 100644
--- a/mcs/class/System.IO.Compression.FileSystem/Makefile
+++ b/mcs/class/System.IO.Compression.FileSystem/Makefile
@@ -6,7 +6,14 @@ LIBRARY = System.IO.Compression.FileSystem.dll
LIB_REFS = System System.IO.Compression
KEYFILE = ../ecma.pub
LIB_MCS_FLAGS = -unsafe -nowarn:436
-TEST_MCS_FLAGS =
+
+TEST_RESOURCE_FILES = \
+ Test/resources/foo/foo.txt \
+ Test/resources/foo/bar.txt \
+ Test/resources/foo/foobar/foo.txt \
+ Test/resources/foo/foobar/bar.txt
+
+TEST_MCS_FLAGS = $(foreach r, $(TEST_RESOURCE_FILES), -resource:$(r),$(r))
TEST_LIB_REFS = System System.Core System.IO.Compression
LIBRARY_WARN_AS_ERROR = yes