diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-01-11 17:28:53 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-01-11 17:29:15 +0100 |
commit | cb3b38e43c936664e3744fdfa7a846d4b52bd588 (patch) | |
tree | 016c0ebd24df4bd7eed6671edfba6fd74c134955 /tests/wixl.at | |
parent | 7906f5f165351ba499733f1bf91d8421d43f9cc3 (diff) | |
download | msitools-cb3b38e43c936664e3744fdfa7a846d4b52bd588.tar.gz msitools-cb3b38e43c936664e3744fdfa7a846d4b52bd588.tar.xz msitools-cb3b38e43c936664e3744fdfa7a846d4b52bd588.zip |
tests: test preprocessor include
Diffstat (limited to 'tests/wixl.at')
-rw-r--r-- | tests/wixl.at | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/wixl.at b/tests/wixl.at index 6215d75..bbd4a22 100644 --- a/tests/wixl.at +++ b/tests/wixl.at @@ -86,6 +86,16 @@ AT_CHECK_WIXL([-E variables.wxs -D Foo -D Zig=Zag], [0], [<?xml version="1.0"?> ], [ignore]) AT_CLEANUP +AT_SETUP([Preprocessor include]) +AT_WIXLDATA([IncludeTest.wxs]) +AT_WIXLDATA([IncludeWarn.wxi]) +AT_CHECK_WIXL([-o out.msi IncludeTest.wxs], [0], [ignore], +[IncludeWarn.wxi:3: warning: IncludeWarn is included +]) +# FIXME: add tons of tests on out.msi +AT_CHECK([test -f out.msi], [0]) +AT_CLEANUP + AT_SETUP([ARP example]) AT_WIXLDATA([test-arp.wxs]) AT_WIXLDATA([FoobarAppl10.exe]) |