aports/community/ngspice/fix-unit-tests.patch
Marian Buschsieweke 9d4967fdc2 community/ngspice: upgrade to 42 and fix
This also adds a fix in regard to interpreting strtod, which behaves
differently for musl and glibc.
2024-03-01 01:33:50 +00:00

15 lines
463 B
Diff

See the comment that is added :)
diff --color -rupN a/tests/bin/check.sh b/tests/bin/check.sh
--- a/tests/bin/check.sh 2023-12-27 19:58:03.000000000 +0100
+++ b/tests/bin/check.sh 2024-02-29 12:38:33.999890323 +0100
@@ -1,5 +1,9 @@
#!/bin/sh
+# Using `egrep` yields a warning about egrep being obsolete. This warning
+# will then be a diff to the expected output. So hack our way around:
+alias egrep="grep -E"
+
# set -x
if [ -z "$SPICE_SCRIPTS" ] ; then