Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-24 | Fix FAILCOUNT arithmetic for mksh. | Elliott Hughes | |
mksh doesn't support $[], only $(()). | |||
2019-06-22 | Make testcmd work if the path to $PWD has a space in it. | Rob Landley | |
2019-06-09 | Inverted test. | Rob Landley | |
2019-06-05 | macOS build parallelism. | Elliott Hughes | |
Macs are slow enough without crippling them further! | |||
2019-05-12 | Add VERBOSE=nopass to not show successful tests. | Rob Landley | |
2019-05-06 | Some "echo" variants default to -e, use printf "%s\n" to avoid that. | Rob Landley | |
2019-05-02 | Android moved the scheduler policy functions in Q. | Elliott Hughes | |
They're forwarded to libprocessgroup, but we may as well go straight to the source since neither library is in the NDK anyway. This code is unfortunate because it means that even `toybox true` ends up pulling in a JSON parser at runtime, because ps might call get_sched_policy/get_sched_policy_name. I'll experiment with dlopen-on-demand in portability.c and see whether the savings are worthwhile, but for now at least use the current library directly so we can save *one* dlopen! | |||
2019-04-23 | Remove librt, which is pulling in libpthread. | Rob Landley | |
It hasn't been needed (for clock_gettime) since glibc 2.17 came out in December 2012 (which is more or less our 7 year support horizon) and Devuan 2.0 is not eliminating this with --as-needed (presumably due to some weak symbol nonsense), so... fix that bug. | |||
2019-04-22 | And same flip in the airlock install. | Rob Landley | |
2019-04-21 | Remove some commands from airlock install PENDING that are now in defconfig. | Rob Landley | |
2019-04-12 | Make help text spacing consistent. | Rob Landley | |
2019-04-04 | Add "toyonly" function to test suite. | Rob Landley | |
2019-03-31 | Add "skipnot" function to test suite, skips next test if command line fails. | Rob Landley | |
2019-03-21 | Test for compiler existence when sourcing portability.sh. | Rob Landley | |
2019-03-10 | Do a rm -rf of testdir between each command so debris files don't accumulate. | Rob Landley | |
2019-03-10 | install.c doesn't include the standard headers so hasn't got ARRAY_LEN() | Rob Landley | |
2019-03-09 | Cosmetic tweak. | Rob Landley | |
2019-03-04 | Consistently use ARRAY_LEN. | Elliott Hughes | |
2019-03-02 | Fix instances of "Usage:" rather than "usage:". | Elliott Hughes | |
2019-02-01 | Fix record-commands and logwrapper.c | Rob Landley | |
record-commands: Delete old log, only delete $WRAPDIR at end if path wasn't externally supplied, don't add the rm at the end to the log. logwrapper.c: don't skip filename when measuring space for command line malloc, use argv[0] instead of /proc/self/exe (which is realpath -f). | |||
2019-01-31 | Tweak build dependencies: rebuild toys/*/*.c when .o newer than .config. | Rob Landley | |
2019-01-30 | Command logging wrapper to help analyze what commands scripts call and how. | Rob Landley | |
2019-01-19 | Have test.sh use portability.sh too. | Rob Landley | |
2019-01-19 | Factor out scripts/portability.sh and have genconfig.sh use it to find sed/gsed. | Rob Landley | |
2019-01-19 | Fix various warnings building on FreeBSD. | Rob Landley | |
2019-01-18 | Airlock: linux-s390x build grew sha256sum dependency in 420, and remove "test". | Rob Landley | |
2018-12-26 | Teach the argument plumbing how to do -@ for mkfs.vfat | Rob Landley | |
2018-12-25 | Simplify the mkflags logic a bit. | Rob Landley | |
We're not going to USE_BLAH("a")"(longopt)" or similarly crazy corner cases, so don't try to support them. | |||
2018-12-05 | macOS: iconv(1) needs libiconv on the mac. | Elliott Hughes | |
2018-12-03 | Break runtest.sh out again: the Android devs were using it. | Rob Landley | |
2018-12-02 | Teach testcmd to say short name rather than full path. | Rob Landley | |
2018-12-02 | Merge runtest.sh into test.sh. | Rob Landley | |
2018-11-30 | macOS: Apple's ancient linker doesn't have --as-needed or --gc-sections. | Elliott Hughes | |
2018-11-28 | macOS: use -E rather than -r for sed extended regular expressions. | Elliott Hughes | |
GNU sed supports -E, -r, and --regexp-extended. BSD sed only supports -r. | |||
2018-11-20 | Skip tests that don't have the executable bit set unless $TEST_ALL set. | Rob Landley | |
2018-11-01 | Discard harmless error messages. | Rob Landley | |
genbuild() is a bunch of echo statements, and with enough parallelism piping its output to "head" can close the pipe before all the echo statements have run, then they complain about writing to a closed pipe. (We're intentionally discarding the output, it's not an error, so...) | |||
2018-10-27 | Don't unnecessarily recalculate library list. | Rob Landley | |
2018-10-27 | Fix "make distclean defconfig toybox" all on one line (good of $CROSS_COMPILER | Rob Landley | |
changed), better error message when .config missing. | |||
2018-10-27 | Allow unstripped build to overwrite read-only output file. | Rob Landley | |
(Output file is read only because broken installs that write to the old filename will truncate+overwrite toybox binary otherwise.) | |||
2018-10-21 | Add % to lib/args.c (long time in milliseconds), add xmillitime(), redo | Rob Landley | |
xparsetime() not to need floating point, adjust callers. | |||
2018-10-06 | Check for cross compiler before creating any generated/* files w/probed vals. | Rob Landley | |
2018-10-05 | getconf: fix glibc NPROCESSORS_ONLN. | Elliott Hughes | |
glibc doesn't have _XOPEN_UUCP (though bionic does), which meant that the generated array of values was out of sync with the hand-written array of names. This patch removes that by using a unified array and the preprocessor. A side benefit of this for me is that it makes toybox easier to integrate in the AOSP build system (the less shell script magic, the better). | |||
2018-08-03 | Don't include toys.h and lib/*.c in config2help.c, the host vs cross compiler | Rob Landley | |
build context (probes for portability.h) is too fiddly to keep stright, just copy the parts we need into the host tool. | |||
2018-07-04 | Add xgetrandom() with probe for new system call (else open/read /dev/{,u}random) | Rob Landley | |
2018-06-26 | The prlimit probe broke when implicit function declarations became an error | Rob Landley | |
(see comment in ulimit.c about the glibc header bug), so copy prototype into the probe too. Without this ulimit always disabled by config probe. | |||
2018-06-21 | Elliott pointed out that ping's been promoted, not needed in airlock list. | Rob Landley | |
2018-06-19 | The kernel's old kconfig had _shipped files, the new one should too, but until | Rob Landley | |
then install bison and flex. (Not yacc and lex, the kernel build is calling the propreitary versions.) | |||
2018-06-03 | call strip as $STRIP | Francesco Valla | |
This is useful e.g. for cross toolchains that define $CC and $STRIP instead of $CROSS_COMPILE. | |||
2018-04-13 | Add getconf. | Rob Landley | |
2018-04-08 | Add -- to "eval". | Rob Landley | |
If you ever do have a command name beginning with a -, eval won't run it by default, because even though it takes no arguments it tries to parse them anyway, so it complains it's an unrecognized argument. Solution: -- as first argument (which is parsed and stops argument parsing). |