Re: MSI query tests

2006-06-03 Thread Mike Hearn
On Thu, 01 Jun 2006 21:51:20 -0500, EA Durbin wrote: > I don't know how I would run this on windows. You don't have to, you just need to run it against a native MSI. As to how to convert your findings into a test case, I guess that may be trickier. There is some fundamental behavior here that is

Re: MSI Query tests

2006-06-01 Thread Mike McCormack
EA Durbin wrote: SELECT * FROM `Media` WHERE `LastSequence` > 1 that it returns the SQL statement correctly. Then in orderby.txt i query SELECT * FROM `Media` ORDER BY `LastSequence` and it returns the results as expected. Then in compoundsql.txt I query SELECT * FROM `Media` WHERE `LastS

Re: MSI query tests

2006-06-01 Thread Dan Kegel
On 6/1/06, EA Durbin <[EMAIL PROTECTED]> wrote: 1. The conformance test suite must run on Windows. This is necessary to provide a reasonable way to verify its accuracy. Furthermore the tests must pass successfully on all Windows platforms (tests not relevant to a given platform should be skipped)

Re: MSI query tests

2006-06-01 Thread EA Durbin
ic UINT ITERATE_QueryTest( MSIRECORD *row, LPVOID param ) { MSIPACKAGE *package = (MSIPACKAGE*)param; int lastSequence, DiskId; LPWSTR cab; lastSequence = MSI_RecordGetInteger( row, 2 ); DiskId = MSI_RecordGetInteger( row, 1); cab = MSI_RecordGetString( row, 4) TRACE( "

Re: MSI query tests

2006-06-01 Thread Dan Kegel
On 6/1/06, EA Durbin <[EMAIL PROTECTED]> wrote: >Great. Can you package up the tests as Wine conformance tests? I'm new to wine, how do I accomplish this? http://winehq.org/site/docs/winedev-guide/testing has an introduction to the subject. - Dan

re: MSI query tests

2006-06-01 Thread EA Durbin
Great. Can you package up the tests as Wine conformance tests? I'm new to wine, how do I accomplish this? From: "Dan Kegel" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] CC: wine-devel Subject: re: MSI query tests Date: Thu, 1 Jun 2006 19:14:08 -0700 EA Durbin wro

re: MSI query tests

2006-06-01 Thread Dan Kegel
EA Durbin wrote: I've written some tests to debug the MSI Installer in wine, in which I have tested various SQL statements against the America's Army installer database and iterated through the queries. Great. Can you package up the tests as Wine conformance tests? That would be very useful; i

RE: MSI Query tests

2006-06-01 Thread EA Durbin
L PROTECTED]> To: [EMAIL PROTECTED] CC: wine-devel@winehq.org Subject: RE: MSI Query tests Date: Thu, 01 Jun 2006 19:22:31 -0500 I've found a simple solution to this, not a fix for the SQL bug, but a fix for InstallFiles(). If you notice in where.txt, Im selecting * from media WHERE LastSe

RE: MSI Query tests

2006-06-01 Thread EA Durbin
I've found a simple solution to this, not a fix for the SQL bug, but a fix for InstallFiles(). If you notice in where.txt, Im selecting * from media WHERE LastSequence > 1. The default sort order for the results is by the table key of DiskId, which follows that of LastSequence. Simply drop