mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
appveyor and windows testing tooling updates
This commit is contained in:
@@ -26,8 +26,6 @@ install:
|
||||
|
||||
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 build-check"
|
||||
|
||||
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-check"
|
||||
|
||||
@@ -16,7 +16,13 @@ use std::ffi::OsStr;
|
||||
use self::tempdir::TempDir;
|
||||
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";
|
||||
#[cfg(not(windows))]
|
||||
static FIXTURES_DIR: &'static str = "tests/fixtures";
|
||||
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 \
|
||||
|
||||
Reference in New Issue
Block a user