From 75525e155b4527463993b539b3f56593975e6ed5 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Mon, 26 Mar 2018 01:47:50 +0200 Subject: testing/crystal: tests need MPROTECT to be disabled --- testing/crystal/paxmark.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 testing/crystal/paxmark.patch (limited to 'testing/crystal/paxmark.patch') diff --git a/testing/crystal/paxmark.patch b/testing/crystal/paxmark.patch new file mode 100644 index 0000000000..db6efd89db --- /dev/null +++ b/testing/crystal/paxmark.patch @@ -0,0 +1,22 @@ +Make tests run on Grsecurity system. This patch is downstream only. + +--- a/Makefile ++++ b/Makefile +@@ -104,14 +104,17 @@ + $(O)/all_spec: $(DEPS) $(SOURCES) $(SPEC_SOURCES) + @mkdir -p $(O) + $(BUILD_PATH) ./bin/crystal build $(FLAGS) -o $@ spec/all_spec.cr ++ paxmark m $(O)/all_spec + + $(O)/std_spec: $(DEPS) $(SOURCES) $(SPEC_SOURCES) + @mkdir -p $(O) + $(BUILD_PATH) ./bin/crystal build $(FLAGS) -o $@ spec/std_spec.cr ++ paxmark m $(O)/std_spec + + $(O)/compiler_spec: $(DEPS) $(SOURCES) $(SPEC_SOURCES) + @mkdir -p $(O) + $(BUILD_PATH) ./bin/crystal build $(FLAGS) -o $@ spec/compiler_spec.cr ++ paxmark m $(O)/compiler_spec + + $(O)/crystal: $(DEPS) $(SOURCES) + @mkdir -p $(O) -- cgit v1.2.3