Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] gawk: fix tests
@ 2021-06-14 16:04 paper42
  2021-06-14 18:06 ` ericonr
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: paper42 @ 2021-06-14 16:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1584 bytes --]

There is a new pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages gawk-fix-tests
https://github.com/void-linux/void-packages/pull/31497

gawk: fix tests
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/31497.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gawk-fix-tests-31497.patch --]
[-- Type: text/x-diff, Size: 660 bytes --]

From 1cc121ec759beab6576688bda2c6e0f7146b5dbf Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Mon, 17 May 2021 21:15:23 +0200
Subject: [PATCH] gawk: fix tests

---
 srcpkgs/gawk/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/gawk/template b/srcpkgs/gawk/template
index 0a79c2ca2c5e..793e94a1e03c 100644
--- a/srcpkgs/gawk/template
+++ b/srcpkgs/gawk/template
@@ -20,6 +20,8 @@ alternatives="
 
 pre_check() {
 	vsed -i 's/done | more/done/g' test/Makefile
+	vsed -i 's/en_US.ISO-8859-1//' test/localenl.sh
+	vsed -i '/^LC_ALL=en_US.ISO-8859-1 passed$/d' test/localenl.ok
 
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gawk: fix tests
  2021-06-14 16:04 [PR PATCH] gawk: fix tests paper42
@ 2021-06-14 18:06 ` ericonr
  2021-06-14 18:59 ` paper42
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2021-06-14 18:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/31497#issuecomment-860885081

Comment:
Is this necessary on glibc and musl?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gawk: fix tests
  2021-06-14 16:04 [PR PATCH] gawk: fix tests paper42
  2021-06-14 18:06 ` ericonr
@ 2021-06-14 18:59 ` paper42
  2021-06-15 14:07 ` ericonr
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paper42 @ 2021-06-14 18:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/31497#issuecomment-860919381

Comment:
tests that this PR fixes are skipped on musl:
```
======== Done with machine-specific tests ========
/bin/sh: line 5: locale: command not found
%%%%%%%%%% Inadequate locale support: skipping charset tests.
%%%%%%%%%% At least en_US.UTF-8, fr_FR.UTF-8, ru_RU.UTF-8 and ja_JP.UTF-8 are needed.
```

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gawk: fix tests
  2021-06-14 16:04 [PR PATCH] gawk: fix tests paper42
  2021-06-14 18:06 ` ericonr
  2021-06-14 18:59 ` paper42
@ 2021-06-15 14:07 ` ericonr
  2021-06-15 20:02 ` [PR PATCH] [Updated] " paper42
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2021-06-15 14:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 273 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/31497#issuecomment-861530470

Comment:
If we merge #26142 or similar we can look into improving this. Can you leave a comment in the commit message or template about this?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] gawk: fix tests
  2021-06-14 16:04 [PR PATCH] gawk: fix tests paper42
                   ` (2 preceding siblings ...)
  2021-06-15 14:07 ` ericonr
@ 2021-06-15 20:02 ` paper42
  2021-06-17  1:13 ` sgn
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paper42 @ 2021-06-15 20:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1589 bytes --]

There is an updated pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages gawk-fix-tests
https://github.com/void-linux/void-packages/pull/31497

gawk: fix tests
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/31497.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gawk-fix-tests-31497.patch --]
[-- Type: text/x-diff, Size: 816 bytes --]

From ccad6b9cca302dc86d0a39f5a19ba8f5ed0bd19e Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Mon, 17 May 2021 21:15:23 +0200
Subject: [PATCH] gawk: fix tests

---
 srcpkgs/gawk/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/gawk/template b/srcpkgs/gawk/template
index 0a79c2ca2c5e..b922097b01f7 100644
--- a/srcpkgs/gawk/template
+++ b/srcpkgs/gawk/template
@@ -21,6 +21,11 @@ alternatives="
 pre_check() {
 	vsed -i 's/done | more/done/g' test/Makefile
 
+	# This fixes tests on glibc, relevant tests on musl are disabled
+	# because the locale command doesn't exist.
+	vsed -i 's/en_US.ISO-8859-1//' test/localenl.sh
+	vsed -i '/^LC_ALL=en_US.ISO-8859-1 passed$/d' test/localenl.ok
+
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)
 			vsed -i '/testext/d' test/Makefile

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gawk: fix tests
  2021-06-14 16:04 [PR PATCH] gawk: fix tests paper42
                   ` (3 preceding siblings ...)
  2021-06-15 20:02 ` [PR PATCH] [Updated] " paper42
@ 2021-06-17  1:13 ` sgn
  2021-06-17  1:13 ` sgn
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: sgn @ 2021-06-17  1:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 327 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/31497#issuecomment-862837941

Comment:
Hm, on musl, with:
```
cat >some-bin/locale <<\EOF
#!/bin/sh
printf '%s.UTF-8\n' C en_US fr_FR ru_RU
EOF
```

a test failed because musl doesn't consider `U+1680` as space character.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gawk: fix tests
  2021-06-14 16:04 [PR PATCH] gawk: fix tests paper42
                   ` (4 preceding siblings ...)
  2021-06-17  1:13 ` sgn
@ 2021-06-17  1:13 ` sgn
  2021-06-17  1:13 ` sgn
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: sgn @ 2021-06-17  1:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 329 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/31497#issuecomment-862837941

Comment:
Hm, on musl, with:
```sh
cat >some-bin/locale <<\EOF
#!/bin/sh
printf '%s.UTF-8\n' C en_US fr_FR ru_RU
EOF
```

a test failed because musl doesn't consider `U+1680` as space character.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gawk: fix tests
  2021-06-14 16:04 [PR PATCH] gawk: fix tests paper42
                   ` (5 preceding siblings ...)
  2021-06-17  1:13 ` sgn
@ 2021-06-17  1:13 ` sgn
  2022-03-29 21:13 ` [PR PATCH] [Updated] " paper42
  2022-04-02 16:00 ` [PR PATCH] [Merged]: " paper42
  8 siblings, 0 replies; 10+ messages in thread
From: sgn @ 2021-06-17  1:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/31497#issuecomment-862837941

Comment:
Hm, on musl, with:
```sh
cat >some-bin/locale <<\EOF
#!/bin/sh
printf '%s.UTF-8\n' C en_US fr_FR ru_RU ja_JP
EOF
```

a test failed because musl doesn't consider `U+1680` as space character.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] gawk: fix tests
  2021-06-14 16:04 [PR PATCH] gawk: fix tests paper42
                   ` (6 preceding siblings ...)
  2021-06-17  1:13 ` sgn
@ 2022-03-29 21:13 ` paper42
  2022-04-02 16:00 ` [PR PATCH] [Merged]: " paper42
  8 siblings, 0 replies; 10+ messages in thread
From: paper42 @ 2022-03-29 21:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1589 bytes --]

There is an updated pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages gawk-fix-tests
https://github.com/void-linux/void-packages/pull/31497

gawk: fix tests
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/31497.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gawk-fix-tests-31497.patch --]
[-- Type: text/x-diff, Size: 821 bytes --]

From e3e8545b12c0d18ba38c8e69112a9e4464050110 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Tue, 29 Mar 2022 23:12:55 +0200
Subject: [PATCH] gawk: fix tests

---
 srcpkgs/gawk/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/gawk/template b/srcpkgs/gawk/template
index 0a79c2ca2c5e..b922097b01f7 100644
--- a/srcpkgs/gawk/template
+++ b/srcpkgs/gawk/template
@@ -21,6 +21,11 @@ alternatives="
 pre_check() {
 	vsed -i 's/done | more/done/g' test/Makefile
 
+	# This fixes tests on glibc, relevant tests on musl are disabled
+	# because the locale command doesn't exist.
+	vsed -i 's/en_US.ISO-8859-1//' test/localenl.sh
+	vsed -i '/^LC_ALL=en_US.ISO-8859-1 passed$/d' test/localenl.ok
+
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl)
 			vsed -i '/testext/d' test/Makefile

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Merged]: gawk: fix tests
  2021-06-14 16:04 [PR PATCH] gawk: fix tests paper42
                   ` (7 preceding siblings ...)
  2022-03-29 21:13 ` [PR PATCH] [Updated] " paper42
@ 2022-04-02 16:00 ` paper42
  8 siblings, 0 replies; 10+ messages in thread
From: paper42 @ 2022-04-02 16:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1426 bytes --]

There's a merged pull request on the void-packages repository

gawk: fix tests
https://github.com/void-linux/void-packages/pull/31497

Description:
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-04-02 16:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14 16:04 [PR PATCH] gawk: fix tests paper42
2021-06-14 18:06 ` ericonr
2021-06-14 18:59 ` paper42
2021-06-15 14:07 ` ericonr
2021-06-15 20:02 ` [PR PATCH] [Updated] " paper42
2021-06-17  1:13 ` sgn
2021-06-17  1:13 ` sgn
2021-06-17  1:13 ` sgn
2022-03-29 21:13 ` [PR PATCH] [Updated] " paper42
2022-04-02 16:00 ` [PR PATCH] [Merged]: " paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).