diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-01-11 13:37:03 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-01-11 14:28:25 +0100 |
commit | 947803b0ae8ce8480465bf7c384fea97ae07cfda (patch) | |
tree | 6e2f093e4ca59e5a46024bd7641301be1682ce93 | |
parent | 39dec3f59e912b3a7451f2353319e9473100dec0 (diff) | |
download | msitools-947803b0ae8ce8480465bf7c384fea97ae07cfda.tar.gz msitools-947803b0ae8ce8480465bf7c384fea97ae07cfda.tar.xz msitools-947803b0ae8ce8480465bf7c384fea97ae07cfda.zip |
tests: add some wixl-heat tests
-rw-r--r-- | atlocal.in | 3 | ||||
-rw-r--r-- | tests/wixl.at | 13 |
2 files changed, 16 insertions, 0 deletions
@@ -26,3 +26,6 @@ _msibuild() { _wixl() { wixl$EXEEXT "$@" } +_wixl_heat() { + wixl-heat$EXEEXT "$@" +} diff --git a/tests/wixl.at b/tests/wixl.at index 0191012..6215d75 100644 --- a/tests/wixl.at +++ b/tests/wixl.at @@ -93,3 +93,16 @@ AT_CHECK_WIXL([-o out.msi test-arp.wxs], [0], [ignore], [ignore]) # FIXME: add tons of tests on out.msi AT_CHECK([test -f out.msi], [0]) AT_CLEANUP + +AT_SETUP([Heat]) +mkdir -p test/a/b test/c +touch test/a/file test/c/file +find test > list +AT_CHECK([cat list | _wixl_heat -p test/ | grep File], [0], +[ <File Id="fil1C4ED87DDF872C3D730CE70E5F0B56D2" KeyPath="yes" Source="SourceDir/a/file"/> + <File Id="filA95C2C271801F96CC9C5D672A7E6CC66" KeyPath="yes" Source="SourceDir/c/file"/> +], [ignore]) +AT_CHECK([cat list | _wixl_heat -p test/ -x c | grep File], [0], +[ <File Id="fil1C4ED87DDF872C3D730CE70E5F0B56D2" KeyPath="yes" Source="SourceDir/a/file"/> +], [ignore]) +AT_CLEANUP |