File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
BinaryBuilderToolchains.jl/test/testsuite/CToolchain/07_compressed_debug_sections Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,7 @@ run: $(UNCOMPRESSED) $(COMPRESSED)
26
26
@$(UNCOMPRESSED )
27
27
@$(COMPRESSED )
28
28
29
- check: $(UNCOMPRESSED) $(COMPRESSED)
30
- @# Assert that the output of each is as expected
31
- @[ "$$($(COMPRESSED) foo)" = "I was invoked with 2 arguments!" ]
32
- @[ "$$($(UNCOMPRESSED))" = "I was invoked with 1 arguments!" ]
29
+ compile : $(UNCOMPRESSED ) $(COMPRESSED )
33
30
@$(OBJCOPY ) --dump-section .$(DEBUG_SECTION ) =$(PROJECT_DIR_BUILD ) /uncompressed.$(DEBUG_SECTION ) $(UNCOMPRESSED )
34
31
@$(OBJCOPY ) --dump-section .$(DEBUG_SECTION ) =$(PROJECT_DIR_BUILD ) /compressed.$(DEBUG_SECTION ) $(COMPRESSED )
35
32
@$(OBJCOPY ) --dump-section .$(DEBUG_SECTION ) =$(PROJECT_DIR_BUILD ) /decompressed.$(DEBUG_SECTION ) --decompress-debug-sections $(COMPRESSED )
@@ -44,5 +41,10 @@ check: $(UNCOMPRESSED) $(COMPRESSED)
44
41
exit 1; \
45
42
fi
46
43
44
+ check : compile
45
+ @# Assert that the output of each is as expected
46
+ @[ " $$ ($( COMPRESSED) foo)" = " I was invoked with 2 arguments!" ]
47
+ @[ " $$ ($( UNCOMPRESSED) )" = " I was invoked with 1 arguments!" ]
48
+
47
49
print-% :
48
50
echo " $* =$( $* ) "
You can’t perform that action at this time.
0 commit comments