This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by kristof.beyls on Sep 25 2015, 7:54 AM.

Details

Summary

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.

Diff Detail

Event Timeline

kristof.beyls retitled this revision from to [LNT] Make it possible to run unit tests against a Postgress database instead of a sqlite database. .
kristof.beyls updated this object.
kristof.beyls added a subscriber: llvm-commits.
cmatthews accepted this revision.Sep 28 2015, 10:58 AM
cmatthews edited edge metadata.

Looks good!

This revision is now accepted and ready to land.Sep 28 2015, 10:58 AM
This revision was automatically updated to reflect the committed changes.