Commit graph

174 commits

Author SHA1 Message Date
Sylvestre Ledru
1055918c31
Document why we can't use nextest for now 2023-04-30 16:58:29 +02:00
Sylvestre Ledru
ba8fa58a9a android: increase the retries + sleep 2023-04-29 19:49:44 +02:00
Sylvestre Ledru
ffa2118717 add debug info 2023-04-29 12:47:48 +02:00
Sylvestre Ledru
0c9c54275e simplify it 2023-04-29 12:37:08 +02:00
Sylvestre Ledru
6f44d9b7af android: use cargo test instead of nextest
nextest does build because of:

2023-04-29T08:03:36.5411530Z Compiling log v0.4.17
2023-04-29T08:03:36.5412100Z error[E0432]: unresolved import linux_raw_sys::ioctl
2023-04-29T08:03:36.5412710Z --> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/rustix-0.37.17/src/backend/libc/io/syscalls.rs:384:24
2023-04-29T08:03:36.5413150Z |
2023-04-29T08:03:36.5413830Z 384 | use linux_raw_sys::ioctl::EXT4_IOC_RESIZE_FS;
2023-04-29T08:03:36.5414380Z | could not find ioctl in linux_raw_sys
2023-04-29T08:03:36.5414590Z
2023-04-29T08:03:36.5414840Z For more information about this error, try rustc --explain E0432.
2023-04-29T08:03:36.5415280Z error: could not compile rustix due to previous error
2023-04-29T08:03:36.5415730Z warning: build failed, waiting for other jobs to finish...

https://github.com/nextest-rs/nextest/issues/862
2023-04-29 10:56:14 +02:00
Sylvestre Ledru
c5fb6eac9f
Merge pull request #4794 from shinhs0506/mv-target-dir
mv: check if --target is a directory
2023-04-29 10:40:44 +02:00
Sylvestre Ledru
5a77608ef9
move the declaration on a single line 2023-04-29 09:48:05 +02:00
John Shin
ee3da4284c mv: update gnu error message to match the one generated by clap 2023-04-28 18:39:41 -07:00
Daniel Hofstetter
9b67ad05b8 build-gnu.sh: always update PATH in Makefile 2023-04-26 17:07:18 +02:00
Sylvestre Ledru
afa5c15581 gnu test: don't sync the po files
We aren't testing the locale yet.
2023-04-24 12:03:21 +02:00
Joining7943
ad5d33f1a9 ci/android: Fix and improve caching. Fix and improve android-commands.sh 2023-04-20 17:36:25 +02:00
Joining7943
f155185df6 util/android-commands: Fix shellcheck warnings. Reformat file. 2023-04-20 16:48:15 +02:00
Joining7943
037aaf0a36 android-commands.sh: Reformat file with shftm 2023-04-19 22:06:12 +02:00
Joining7943
78ce521c01 ci: Use nextest as test runner instead of cargo test 2023-04-19 22:06:06 +02:00
Daniel Hofstetter
40fef49817 Fix incorrect comment & remove irrelevant comment 2023-04-13 16:47:05 +02:00
Sylvestre Ledru
af0a263191 0.0.17 => 0.0.18 2023-03-29 08:11:25 +02:00
Sylvestre Ledru
d7bc324979
Merge pull request #4656 from sylvestre/du-th
du: Update the GNU error message to our for tests/du/threshold.sh
2023-03-29 07:48:19 +02:00
Sylvestre Ledru
71228f98e1
Merge pull request #4626 from sylvestre/python-error-mmgt
manage an potential error in util/remaining-gnu-error.py when GNU isn't up to date
2023-03-28 10:44:40 +02:00
Sylvestre Ledru
f7ff0d45b8 du: Update the GNU error message to our for tests/du/threshold.sh
We are doing a better job.
Make it FAIL => PASS
2023-03-27 22:10:07 +02:00
Sylvestre Ledru
355d242e7a python: simplify the code a bit 2023-03-26 10:08:25 +02:00
Sylvestre Ledru
f8e0a73fb5 manage an potential error in util/remaining-gnu-error.py when GNU isn't up to date 2023-03-26 10:08:25 +02:00
Miles Liu
04f1b31889
util/show-utils: fix script not working as intended 2023-03-21 09:25:17 +08:00
Miles Liu
787ad780c0
docs: fix tr.pl and stat-printf.pl don't show up in gnu-full-result 2023-03-13 15:40:01 +08:00
Terts Diepraam
9e217ab30d utils: create a script to explore binary sizes 2023-02-26 16:55:53 +01:00
Miles Liu
e8f7395a8a
docs: fix invalid test status in gnu-full-result 2023-02-01 20:54:37 +08:00
Terts Diepraam
a9f1743ba6 util: fix publish order of uucore_procs and uucore 2023-01-21 13:00:49 +01:00
Terts Diepraam
4d3dc78686 Version 0.0.17 2023-01-21 10:38:18 +01:00
Joining7943
ccfc799b46 CI/tests: Run cargo test with RUST_BACKTRACE=1 2023-01-01 18:36:02 +01:00
Jeffrey Finkelstein
a396ebd883 touch: add support for some relative times
For example,

    $ touch -d +1 days

Fixes #3964.
2022-11-29 22:53:13 +01:00
Daniel Hofstetter
4fdfedf61e build-gnu: fix test for numfmt 2022-11-02 10:20:04 +01:00
Terts Diepraam
9e1902eae3 build-gnu: fix test for basenc 2022-10-13 23:04:58 +02:00
Terts Diepraam
f15c4f2d3e Version 0.0.16 2022-10-11 23:03:39 +02:00
Terts Diepraam
84f9879e5c util/update-version: fix update of uu_base32 dependency 2022-10-11 23:03:18 +02:00
Terts Diepraam
b2b46a6835 util/update-version: also update Cargo.toml of uucore 2022-10-11 22:58:04 +02:00
Terts Diepraam
b869c78343 util/publish: update to correctly handle dependencies between utils 2022-10-11 22:49:04 +02:00
Sylvestre Ledru
2e26e1d2bd chroot: implement --skip-chdir 2022-09-21 19:46:58 +02:00
Sylvestre Ledru
20af659f09 Run the GNU root tests in a separate task 2022-09-17 13:19:06 +02:00
Sylvestre Ledru
cfa7ba2ce2 gnu: merge the root tests results into the main one 2022-09-17 13:19:03 +02:00
Sylvestre Ledru
acef46b629 add the capability to run several tests at once 2022-09-16 10:31:01 +02:00
Niyaz Nigmatullin
84abf9c920 CI/android: add 60 min timeout for cargo test to see where it's stuck 2022-08-24 08:21:24 +03:00
Terts Diepraam
a28dd25cb3 all: fix spelling errors 2022-08-20 13:24:06 +02:00
Terts Diepraam
15180249fc Version 0.0.15 2022-08-20 13:13:22 +02:00
Terts Diepraam
0f12806b5c util: add ls dependency update to {dir, vdir} 2022-08-20 12:27:18 +02:00
Terts Diepraam
5422d931ab util: simplify update-version.sh
Now that the versions of the utils, uucore and uucore_procs are synced, we can use the same variables for all updates
2022-08-20 12:14:14 +02:00
Sylvestre Ledru
2870fb091b remaining-gnu-error.py: separate FAIL from ERROR/SKIP 2022-08-14 22:23:23 +02:00
Sylvestre Ledru
c8aa5bcbd7 reformat python code with black 2022-08-14 12:45:51 +02:00
Jan Scheer
5258dec9a8
tail: fix race condition (#3798)
* tail: fix race condition (fix #3765)

There exists a race condition (RC) that can occur if changes to a path
happen after the initial print loop in `uu_tail()`, but before the
path is added to the notify-Watcher thread in `follow()`.

To minimize the window where the RC can occur, this moves starting the
Watcher thread and adding paths to it from `follow()` to the initial
print loop in `uu_tail()`.

Additionally, to make sure the RC cannot happen in
"gnu/tests/tail-2/F-headers.sh", the error message that is used as a trigger
in this test, is delayed until the path is added to the Watcher thread.

* build-gnu: remove workarounds for tail

Remove workarounds for "tests/tail-2/F-headers.sh" which are
(presumably) no longer needed because of the race condition fix.

* build-gnu: remove workarounds for tail

Remove workarounds for "tests/tail-2/F-headers.sh" which are
(presumably) no longer needed because of the race condition fix.

* tail: refactor to minimize chances of RC

Move "adding paths to Watcher thread" to its own loop and run this loop
before the initial tail-print-loop in order to minimize the window for
race conditions.
2022-08-14 01:01:15 +02:00
Niyaz Nigmatullin
5978185f94 fix spelling 2022-08-09 08:35:10 +03:00
Niyaz Nigmatullin
dbaff49de6 gnu-tests: disable some tests that implementation-specific 2022-08-09 08:35:10 +03:00
Jan Scheer
39505e39ed
build-gnu: attempt to fix #3765 2022-08-05 07:33:36 +02:00