Checkout
rhuijben
committed
on 21 May 12
Make wc-queries-test failures much easier to diagnose by extending the sqlite
transform script a bit. Store names and some optional value du… Show more
Make wc-queries-test failures much easier to diagnose by extending the sqlite

transform script a bit. Store names and some optional value during .sql

parsing and make that information available in the test.

* build/transform_sql.py

 (Processor): Extend regex to capture flags.

 (_sub_statement): Generate extra macro.

 (main): Generate a DECLARE_STATEMENT_INFO macro.

* subversion/tests/libsvn_wc/wc-queries-test.c

 (wc_query_info): New static variable.

 (test_parsable,

  test_query_expectations): Extend error messages with statement name.

Show less