Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-11 | Oops, unbreak make.sh. | Rob Landley | |
Clearing out old .o files needs -r now that generated/obj has its own subdirectory. (Works if you make clean between, but shouldn't need it.) | |||
2014-09-09 | Make tweaks: collate generated/*.o files into their own subdirectory, add ↵ | Rob Landley | |
PIPEFAIL for better error reporting, and simpler regex to select toys/*/*.c list based on NEWTOY/OLDTOY macros. | |||
2014-09-04 | Don't hang for $CPUS=1. | Rob Landley | |
echo prints a newline if it has nothing to print, so wc -l always returns at least 1. Fix: echo -n | |||
2014-09-03 | Testsuites for toybox command - "tar", "bzcat", "xzcat", "zcat" and "hostname". | Divya Kothari | |
2014-09-03 | chmod testsuite and link testsuite. | Divya Kothari | |
Chmod ? In this testsuite after change file mode bits, we are comparing file mode with expected ones. One additional "." is coming with modes (actual result). That?s why test cases are getting failed. This patch will remove additional "." from actual result. Link ? Added more test cases. | |||
2014-08-31 | More parallel build tweaks. | Rob Landley | |
echo "$PENDING" needs the quotes to avoid gluing the lines together, which prevents wc -l or head -n +2 from working right. | |||
2014-08-30 | Old compilers complain about linker options passed with -c, so split out ↵ | Rob Landley | |
$LDOPTIMIZE. | |||
2014-08-30 | Another fix from Johan Bergstr?m, using the gnu/dammit version of sort on ↵ | Rob Landley | |
the host can be screwed up by more than one environment variable. | |||
2014-08-30 | Add VERBOSE=fail to "make tests", based on suggestion from Johan Bergstr?m. | Rob Landley | |
2014-08-24 | Fix parallel make not always catching errors before link time. | Rob Landley | |
jobs -p removes finished jobs from the list after reporting them once, so we need to record the output and remove duplicates ourselves. | |||
2014-08-12 | Enable a command's sub-options in single builds. | Rob Landley | |
2014-08-09 | Parallelize the build. (set CPUS=1 to force single processor build, or ↵ | Rob Landley | |
another number to override processor count autodetect.) | |||
2014-08-02 | Add --help support to single.sh builds. | Rob Landley | |
2014-08-01 | Add factor. | Rob Landley | |
I was reading http://www.muppetlabs.com/~breadbox/txt/rsa.html and it mentioned "factor" and I noticed it was in coreutils. I'm not sure why it's in coreutils, but it's pretty trivial, so... | |||
2014-07-27 | Patch from Isaac Dunham to work around the deficiencies in musl's regex ↵ | Rob Landley | |
engine (which break building under alpine linux). Musl's regex engine doesn't support \| which changes the behavior of busybox sed, breaks toybox grep... I need to come up with a musl patch, in the meantime here's a workaround. | |||
2014-07-21 | Have single.sh enable I18N and FLOAT. | Rob Landley | |
2014-07-14 | Implement -HL for cp. | Rob Landley | |
2014-07-04 | Cut down from 1000+ file attribute tests to a more manageable number. | Rob Landley | |
2014-07-04 | I have developed few testsuites for toybox commands - | Divya Kothari | |
1. lsattr/chattr 2. mount 3. chmod 4. pgrep/pkill 5. groupadd 6. groupdel 7. useradd | |||
2014-07-03 | Have "make test" run tests in testdir/testdir instead of same directory as ↵ | Rob Landley | |
command symlinks. (Makes cleanup easier.) | |||
2014-06-28 | Add fallocate probe for uClibc. | Rob Landley | |
2014-06-26 | I have developed few testsuite for toybox commands - ls, ln, rm, mv, printf, ↵ | Divya Kothari | |
dd, renice. | |||
2014-06-09 | host needs -lresolv | Rob Landley | |
2014-06-08 | Isaac Dunham also reported that some diff implementations can't handle ↵ | Rob Landley | |
nonseekable input, so write to a temporary file instead of <(command). Use trap EXIT to make sure the temporary files get deleted. | |||
2014-06-08 | Isaac Dunham pointed out that busybox diff only implements unified diffs, ↵ | Rob Landley | |
and sent a patch to convert bloatcheck to use that. I tweaked it a bit. | |||
2014-06-08 | Replace large parenthetical in bloatcheck with a function. | Rob Landley | |
2014-06-01 | The tests for link and du are attached. | Isaac Dunham | |
2014-06-01 | cpio: archive more files | Isaac Dunham | |
While writing tests for cpio, I found that cpio tries to open empty files if they're regular files, and fails to archive them if unreadable. This can be easily avoided, and is not the usual behavior. | |||
2014-05-24 | Pass the same $CFLAGS to the library probe as the final build, to work with ↵ | Rob Landley | |
broken build environments that provide different libraries for --static and dynamic builds. | |||
2014-05-18 | Teach singleconfig to switch on sub-options of commands it's building. | Rob Landley | |
If we're building a standalone version, it might as well have all the bells and whistles enabled. | |||
2014-05-10 | Catch duplicate command name (which breaks the build already, but doesn't ↵ | Rob Landley | |
identify the culprit). | |||
2014-04-23 | Add example directory, move hello.c into it, add skeleton.c to demonstrate ↵ | Rob Landley | |
more complciated stuff (multiple commands per file, etc), and have genconfig.sh sort backwards so posix is first and example last in menuconfig. | |||
2014-04-23 | As long as uClibc's still around and requires you to jump through hoops to ↵ | Rob Landley | |
get iconv(), probe and build defconfig without it if it's not there. | |||
2014-04-16 | Probe for the existence of FIFREEZE and make fsfreeze depend on it. | Rob Landley | |
2014-04-15 | Probes for O_NOFOLLOW that compile and run something aren't compatible with ↵ | Rob Landley | |
cross compiling, so just #define it to 0 if it's not in fcntl.h where posix-2008 says. | |||
2014-04-09 | _mkflags_ had an issue for generating FLAG_xxxx macros for long options. | Ashwini Sharma | |
Only the first __long__ option, without any __short__ option had a proper flag value, rest all were defined to ZERO. Becaus the _flist_ was not moved to the next in this case. | |||
2014-04-07 | generated/help.h is a lot easier to read with an extra newline between each ↵ | Rob Landley | |
help entry. | |||
2014-03-19 | There are cases when the long options are of the format abc-def. In current ↵ | Ashwini Sharma | |
implementation FLAG_xxx macros are generated for long options too. with __-__ sign in the macro, it will generate errors. I am of the opinion that __-__ be converted to '_' for generating the FLAG_xxx macros and be used in the command. This will enable the user to 'abc-def', but be handled like 'abc_def' in code. | |||
2014-03-11 | Factor out mkpathat. | Rob Landley | |
2014-02-28 | Fix header file generation to not be confused by empty (but non-NULL) option ↵ | Rob Landley | |
string. You shouldn't use "" as an option string because a NULL allows toy_init() to avoid calling the option parsing logic entirely, which lets it drop out when nothing's using it (ala scripts/single.sh builds). That said, init.c is currently using a "" option string and a USE_ macro taking advantage of string concatenation may require a "" option config, so... | |||
2014-02-24 | Put all FOR_xxx blocks after all CLEANUP_xxx in generated/flags.h so the ↵ | Rob Landley | |
usages don't have to be in alphabetical order. | |||
2014-02-23 | CLEANUP transitions require all the generated/flags.h stanzas always be ↵ | Rob Landley | |
present (even for commands disabled in the config) to avoid undefined symbol errors referencing FLAG_ macros. | |||
2014-02-21 | Update status page. | Rob Landley | |
2014-02-16 | Make CLEANUP transitions work, so multiple NEWTOY() can exist in the same file. | Rob Landley | |
Don't #undefine TT in the CLEANUP blocks of generated/flags.h, and #ifdef around the other TT definition. That way you can put a union at the start of your GLOBALS() with the arguments filled out by option parsing, and then have multiple main() functions with different argumetns and different FLAG_x macros, while sharing infrastructure that's not under lib. | |||
2014-02-16 | Various cleanups found by Tom Sparrow's static analysis. | Rob Landley | |
2014-02-08 | Fix segfault with single build of a command with bare longopts. | Rob Landley | |
2014-02-04 | Use right config for single builds. | Rob Landley | |
2014-01-29 | More elaborate help text collating logic. | Rob Landley | |
2014-01-20 | Collate usage: lines in help text. | Rob Landley | |
2014-01-15 | Help text, collate usage blocks (badly). | Rob Landley | |