mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
appveyor and windows testing tooling updates
This commit is contained in:
parent
caece01a6f
commit
83295f1e08
2 changed files with 6 additions and 2 deletions
|
@ -26,8 +26,6 @@ install:
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- call %MBASH% "cd $APPVEYOR_BUILD_FOLDER; PATH=$PATH:/mingw64/bin:/mingw32/bin; exec 0</dev/null; make"
|
- call %MBASH% "cd $APPVEYOR_BUILD_FOLDER; PATH=$PATH:/mingw64/bin:/mingw32/bin; exec 0</dev/null; make"
|
||||||
- call %MBASH% "cd $APPVEYOR_BUILD_FOLDER; PATH=$PATH:/mingw64/bin:/mingw32/bin; exec 0</dev/null; make build-check"
|
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- call %MBASH% "cd $APPVEYOR_BUILD_FOLDER; PATH=$PATH:/mingw64/bin:/mingw32/bin; exec 0</dev/null; make test"
|
- call %MBASH% "cd $APPVEYOR_BUILD_FOLDER; PATH=$PATH:/mingw64/bin:/mingw32/bin; exec 0</dev/null; make test"
|
||||||
- call %MBASH% "cd $APPVEYOR_BUILD_FOLDER; PATH=$PATH:/mingw64/bin:/mingw32/bin; exec 0</dev/null; make test-check"
|
|
||||||
|
|
|
@ -16,7 +16,13 @@ use std::ffi::OsStr;
|
||||||
use self::tempdir::TempDir;
|
use self::tempdir::TempDir;
|
||||||
use std::rc::Rc;
|
use std::rc::Rc;
|
||||||
|
|
||||||
|
#[cfg(windows)]
|
||||||
|
static PROGNAME: &'static str = "target\\debug\\uutils.exe";
|
||||||
|
#[cfg(windows)]
|
||||||
|
static FIXTURES_DIR: &'static str = "tests\\fixtures";
|
||||||
|
#[cfg(not(windows))]
|
||||||
static PROGNAME: &'static str = "target/debug/uutils";
|
static PROGNAME: &'static str = "target/debug/uutils";
|
||||||
|
#[cfg(not(windows))]
|
||||||
static FIXTURES_DIR: &'static str = "tests/fixtures";
|
static FIXTURES_DIR: &'static str = "tests/fixtures";
|
||||||
static ALREADY_RUN: &'static str = " you have already run this UCommand, if you want to run \
|
static ALREADY_RUN: &'static str = " you have already run this UCommand, if you want to run \
|
||||||
another command in the same test, use TestSet::new instead of \
|
another command in the same test, use TestSet::new instead of \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue