1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #928 from knight42/patch

Minor changes
This commit is contained in:
mpkh 2016-07-31 23:23:05 +04:00 committed by GitHub
commit d7a053305c
2 changed files with 10 additions and 12 deletions

View file

@ -207,11 +207,6 @@ build_exe_$(1):
${CARGO} build ${CARGOFLAGS} ${PROFILE_CMD} -p $(1) ${CARGO} build ${CARGOFLAGS} ${PROFILE_CMD} -p $(1)
endef endef
define TEST_INTEGRATION
test_integration_$(1):
${CARGO} test ${CARGOFLAGS} --features "$(1) $(TEST_SPEC_FEATURE)" --no-default-features $(TEST_NO_FAIL_FAST)
endef
define TEST_BUSYBOX define TEST_BUSYBOX
test_busybox_$(1): test_busybox_$(1):
(cd $(BUSYBOX_SRC)/testsuite && bindir=$(BUILDDIR) ./runtest $(RUNTEST_ARGS) $(1) ) (cd $(BUSYBOX_SRC)/testsuite && bindir=$(BUILDDIR) ./runtest $(RUNTEST_ARGS) $(1) )
@ -255,10 +250,10 @@ build-uutils:
build: build-uutils build-pkgs build: build-uutils build-pkgs
$(foreach test,$(TESTS),$(eval $(call TEST_INTEGRATION,$(test))))
$(foreach test,$(filter-out $(SKIP_UTILS),$(PROGS)),$(eval $(call TEST_BUSYBOX,$(test)))) $(foreach test,$(filter-out $(SKIP_UTILS),$(PROGS)),$(eval $(call TEST_BUSYBOX,$(test))))
test: $(addprefix test_integration_,$(TESTS)) test:
${CARGO} test ${CARGOFLAGS} --features "$(TESTS) $(TEST_SPEC_FEATURE)" --no-default-features $(TEST_NO_FAIL_FAST)
busybox-src: busybox-src:
if [ ! -e $(BUSYBOX_SRC) ]; then \ if [ ! -e $(BUSYBOX_SRC) ]; then \

View file

@ -148,15 +148,21 @@ To do
----- -----
- chcon - chcon
- runcon
- base32
- md5sum
- sha1sum
- sha224sum
- sha256sum
- sha384sum
- sha512sum
- chgrp - chgrp
- copy
- cp (not much done) - cp (not much done)
- csplit - csplit
- date - date
- dd - dd
- df - df
- expr (almost done, no regular expressions) - expr (almost done, no regular expressions)
- getlimits
- join - join
- ls - ls
- mv (almost done, one more option) - mv (almost done, one more option)
@ -164,9 +170,6 @@ To do
- od (in progress, needs lots of work) - od (in progress, needs lots of work)
- pr - pr
- printf - printf
- remove
- runcon
- setuidgid
- sort (a couple of options implemented) - sort (a couple of options implemented)
- split (a couple of missing options) - split (a couple of missing options)
- stty - stty