Fix the RZ_BIN_PREFIX test for Windows (#2189)

* Fix the RZ_BIN_PREFIX test for Windows
* Do not use previous VS2019 image
This commit is contained in:
Anton Kochkov 2022-01-09 13:47:38 +08:00 committed by Anton Kochkov
parent 80bb1cb91b
commit a220a08ba4
2 changed files with 5 additions and 8 deletions

View file

@ -23,7 +23,7 @@ environment:
- builder: vs2019_64
PYTHON: 'C:\\Python38-x64'
INNO_SETUP: 'C:\\Program Files (x86)\\Inno Setup 6'
APPVEYOR_BUILD_WORKER_IMAGE: Previous Visual Studio 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
BUILD_DIR: build
RUN_TESTS: true
# VS2017 64 (Dynamic linking)
@ -110,4 +110,4 @@ artifacts:
# Binaries
- path: "%ARTIFACT_ZIP%"
# Test results
- path: test/results.json
- path: test/results.json

View file

@ -98,14 +98,11 @@ RUN
NAME=rz-bin -S, -SS, -rS and -rSS file elf
FILE=bins/elf/analysis/x86-helloworld-gcc
CMDS=<<EOF
!rz-bin -S ${RZ_FILE}|wc -l|awk "{print \$1}"
!rz-bin -SS ${RZ_FILE}|wc -l|awk "{print \$1}"
!env RZ_BIN_PREFIX=prixfixe rz-bin -S ${RZ_FILE}
!env RZ_BIN_PREFIX=prixfixe rz-bin -SS ${RZ_FILE}
%RZ_BIN_PREFIX=prixfixe
!rz-bin -S ${RZ_FILE}
!rz-bin -SS ${RZ_FILE}
EOF
EXPECT=<<EOF
34
13
[Sections]
paddr size vaddr vsize align perm name type flags
--------------------------------------------------------------------------------------------------