mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Use MULTICALL=y at toybox test for faster CI (#10370)
This commit is contained in:
@@ -1093,12 +1093,11 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt-get -y update ; sudo apt-get -y install libselinux1-dev
|
||||
- name: Build coreutils as multiple binaries
|
||||
- name: Build coreutils
|
||||
shell: bash
|
||||
run: |
|
||||
## Build individual uutil binaries
|
||||
set -v
|
||||
make
|
||||
make MULTICALL=y && (cd target/debug && for binary in $(./coreutils --list);do ln -sf coreutils ${binary};done)
|
||||
- name: Run toybox src
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
# spell-checker:ignore (misc) testsuite runtest findstring (targets) busytest toybox distclean pkgs nextest ; (vars/env) BINDIR BUILDDIR CARGOFLAGS DESTDIR DOCSDIR INSTALLDIR INSTALLEES MULTICALL DATAROOTDIR TESTDIR manpages
|
||||
# spell-checker:ignore (misc) testsuite runtest findstring (targets) busytest toybox distclean pkgs nextest ; (vars/env) BINDIR BUILDDIR CARGOFLAGS CFLAGS DESTDIR DOCSDIR INSTALLDIR INSTALLEES MULTICALL DATAROOTDIR TESTDIR manpages
|
||||
|
||||
# Config options
|
||||
ifneq (,$(filter install, $(MAKECMDGOALS)))
|
||||
@@ -170,7 +170,7 @@ nextest:
|
||||
${CARGO} nextest run ${CARGOFLAGS} --features "$(TESTS) $(TEST_SPEC_FEATURE)" $(PROFILE_CMD) --no-default-features $(TEST_NO_FAIL_FAST)
|
||||
|
||||
test_toybox:
|
||||
-(cd $(TOYBOX_SRC)/ && make tests)
|
||||
-(cd $(TOYBOX_SRC)/ && CFLAGS="-pipe -O0 -s" make tests)
|
||||
|
||||
toybox-src:
|
||||
if [ ! -e "$(TOYBOX_SRC)" ] ; then \
|
||||
|
||||
Reference in New Issue
Block a user