From 8852e3d26a9b158de74712ea8b0919e89abe0358 Mon Sep 17 00:00:00 2001 From: viest Date: Sun, 19 Sep 2021 19:37:50 +0800 Subject: [PATCH] Test: test show all --- .appveyor.yml | 3 ++- .github/workflows/main.yml | 3 ++- .travis.yml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 9c18cdc..790f9a2 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -208,6 +208,7 @@ build_script: #echo "@echo off" | Out-File -Encoding "ASCII" task.bat #echo "" | Out-File -Encoding "ASCII" -Append task.bat echo "" | Out-File -Encoding "ASCII" task.bat + echo "php -m 2>&1" | Out-File -Encoding "ASCII" -Append task.bat echo "call git submodule update --init 2>&1" | Out-File -Encoding "ASCII" -Append task.bat echo "call phpize 2>&1" | Out-File -Encoding "ASCII" -Append task.bat $conf_cmd = 'call configure --with-xlswriter --with-extra-libs=c:\build-cache\zlib\lib --with-extra-includes=c:\build-cache\zlib\include --enable-debug-pack 2>&1' @@ -258,7 +259,7 @@ test_script: echo "set REPORT_EXIT_STATUS=1" | Out-File -Encoding "ASCII" -Append task.bat $cmd = 'call configure --with-xlswriter --with-extra-libs=c:\build-cache\zlib\lib --with-extra-includes=c:\build-cache\zlib\include --with-prefix=c:\build-cache\' + $dname + ' 2>&1' echo $cmd | Out-File -Encoding "ASCII" -Append task.bat - echo 'nmake /nologo test TESTS="-q --show-diff --set-timeout 120" 2>&1' | Out-File -Encoding "ASCII" -Append task.bat + echo 'nmake /nologo test TESTS="-q --show-all --set-timeout 120" 2>&1' | Out-File -Encoding "ASCII" -Append task.bat echo "exit %errorlevel%" | Out-File -Encoding "ASCII" -Append task.bat $here = (Get-Item -Path "." -Verbose).FullName $runner = 'c:\build-cache\php-sdk-' + $env:BIN_SDK_VER + '\phpsdk' + '-' + $env:VC + '-' + $env:ARCH + '.bat' diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 019aefa..43dbed4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,6 +41,7 @@ jobs: - name: Build Extension And Execute Tests run: | + php -m phpize && ./configure --enable-reader make clean && make && make test @@ -49,4 +50,4 @@ jobs: run: | phpize && ./configure --enable-reader make clean && make && make test - REPORT_EXIT_STATUS=1 php -n run-tests.php -m -n -d extension_dir=./modules/ -d extension=xlswriter.so -P --show-diff --set-timeout 120 \ No newline at end of file + REPORT_EXIT_STATUS=1 php -n run-tests.php -m -n -d extension_dir=./modules/ -d extension=xlswriter.so -P --show-all --set-timeout 120 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 68d228b..fbf0527 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,7 @@ notifications: email: dev@service.viest.me before_script: + - php -m - git submodule update --init - sudo apt-get install zlib1g-dev -y - phpize && ./configure --enable-reader && make clean && make @@ -35,7 +36,6 @@ branches: only: - master - dev - - bundle script: - ./travis/run-test.sh