]> wimlib.net Git - wimlib/blob - tests/win32-test-imagex-capture_and_apply.sh
mount_image.c: add fallback definitions of RENAME_* constants
[wimlib] / tests / win32-test-imagex-capture_and_apply.sh
1 #!/bin/bash
2
3 set -e -u -v
4
5 ./tools/windows-build.sh
6 bindir=$(find . -name 'wimlib-*-bin' | tail -1)
7 for helper in win32-tree-cmp set_reparse_point; do
8         cc -O2 -municode -Wall -Werror ./tests/$helper.c -o "$bindir"/$helper.exe
9         chmod 700 "$bindir"/$helper.exe
10 done
11 cd "$bindir"
12 ../tests/win32-test-imagex-capture_and_apply.bat