[PATCH] D13163: [LNT] Make it possible to run unit tests against a Postgress database instead of a sqlite database.

Kristof Beyls via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 07:54:52 PDT 2015


kristof.beyls created this revision.
kristof.beyls added reviewers: cmatthews, ddunbar.
kristof.beyls added a subscriber: llvm-commits.

This patch adapts the create_temp_instance script so that it can also create and populate postgres databases instead of just sqlite databases.
This in turn allows to run all the regression tests using a postgres database rather than a sqlite database, making is far easier to test LNT against a postgres database.
Documentation on how to use this has been added to the developer guide as part of this patch.

http://reviews.llvm.org/D13163

Files:
  docs/developer_guide.rst
  tests/SharedInputs/SmallInstance/data/lnt_db_create.sql
  tests/SharedInputs/create_temp_instance.py
  tests/lit.cfg
  tests/lnttool/PostgresDB.py
  tests/lnttool/email_tools.py
  tests/server/ui/Inputs/V4Pages_extra_records.sql
  tests/server/ui/V4Pages.py
  tests/server/ui/test_api.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13163.35723.patch
Type: text/x-patch
Size: 72085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150925/577868be/attachment.bin>


More information about the llvm-commits mailing list