-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/z88dk: the port had been improved (+)
- Fix the test suite (renew dependency list, patch some loose ends) - Switch to GNU m4 for the time being: while --define= command line option can be replaced with -D, there are other things that break against our system m4(1) particularly when running the test suite - Strip several binaries upon installation as reported by stage Q/A
- Loading branch information
Alexey Dokuchaev
authored and
Alexey Dokuchaev
committed
Nov 17, 2022
1 parent
de3b9f5
commit 198f2be
Showing
4 changed files
with
67 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- src/common/t/run_tests.sh.orig 2022-07-06 03:00:02 UTC | ||
+++ src/common/t/run_tests.sh | ||
@@ -1,4 +1,4 @@ | ||
-#!/bin/bash | ||
+#!/bin/sh | ||
|
||
set +e # allow tests to fail without aborting make test | ||
|
||
@@ -10,7 +10,7 @@ for t in $( cat t/test1.hh | sed -e 's/^[^"]*"//' -e ' | ||
touch $f | ||
fi | ||
- nr=$[$nr+1] | ||
+ nr=$((nr+1)) | ||
t/test $t > $f.mine.stdout 2> $f.mine.stderr | ||
rv=$? | ||
(echo stdout: ; cat $f.mine.stdout ; echo stderr: ; cat $f.mine.stderr ; echo exit: $rv ) > $f.mine | ||
@@ -25,7 +25,7 @@ for t in $( cat t/test1.hh | sed -e 's/^[^"]*"//' -e ' | ||
else | ||
diff -w $f $f.mine | sed -e 's/^/\# /' | ||
fi | ||
- fail=$[$fail+1] | ||
+ fail=$((fail+1)) | ||
fi | ||
done | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- src/z80asm/Makefile.orig 2022-07-10 03:00:02 UTC | ||
+++ src/z80asm/Makefile | ||
@@ -155,10 +155,10 @@ install: $(PROJ)$(EXESUFFIX) z80asm_lib | ||
# install | ||
#------------------------------------------------------------------------------ | ||
install: $(PROJ)$(EXESUFFIX) z80asm_lib | ||
- $(INSTALL) $(PROJ)$(EXESUFFIX) $(PREFIX)/bin/$(PROJ)$(EXESUFFIX) | ||
- $(INSTALL) $(PROJ)$(EXESUFFIX) $(PREFIX)/bin/$(BARE_PROJ)$(EXESUFFIX) | ||
- $(INSTALL) asmpp.pl $(PREFIX)/bin/z88dk-asmpp | ||
- $(INSTALL) asmstyle.pl $(PREFIX)/bin/z88dk-asmstyle | ||
+ $(BSD_INSTALL_PROGRAM) $(PROJ)$(EXESUFFIX) $(PREFIX)/bin/$(PROJ)$(EXESUFFIX) | ||
+ $(BSD_INSTALL_PROGRAM) $(PROJ)$(EXESUFFIX) $(PREFIX)/bin/$(BARE_PROJ)$(EXESUFFIX) | ||
+ $(BSD_INSTALL_SCRIPT) asmpp.pl $(PREFIX)/bin/z88dk-asmpp | ||
+ $(BSD_INSTALL_SCRIPT) asmstyle.pl $(PREFIX)/bin/z88dk-asmstyle | ||
ifeq ($(CROSS),0) | ||
$(MAKE) -C dev/z80asm_lib install PREFIX=$(PREFIX_SHARE) | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- src/zx0/Makefile.orig 2021-02-08 03:00:08 UTC | ||
+++ src/zx0/Makefile | ||
@@ -23,8 +23,8 @@ install: z88dk-zx0$(EXESUFFIX) z88dk-dzx0$(EXESUFFIX) | ||
$(CC) -o z88dk-dzx0$(EXESUFFIX) $(LDFLAGS) $^ | ||
|
||
install: z88dk-zx0$(EXESUFFIX) z88dk-dzx0$(EXESUFFIX) | ||
- $(INSTALL) z88dk-zx0$(EXESUFFIX) $(PREFIX)/bin/z88dk-zx0$(EXESUFFIX) | ||
- $(INSTALL) z88dk-dzx0$(EXESUFFIX) $(PREFIX)/bin/z88dk-dzx0$(EXESUFFIX) | ||
+ $(BSD_INSTALL_PROGRAM) z88dk-zx0$(EXESUFFIX) $(PREFIX)/bin/z88dk-zx0$(EXESUFFIX) | ||
+ $(BSD_INSTALL_PROGRAM) z88dk-dzx0$(EXESUFFIX) $(PREFIX)/bin/z88dk-dzx0$(EXESUFFIX) | ||
|
||
clean: | ||
$(RM) z88dk-zx0$(EXESUFFIX) $(OBJS) |