13 Commits

Author SHA1 Message Date
Sandro Santilli
e4ec6f0700 Provide a sourceable shell script setting up test environment
Testing locally becomes as simple as (from build dir):

  . tests/env.sh
  python ${srcdir}/tests/src/python/test_provider_postgres.py
2024-06-23 15:44:32 +02:00
Denis Rouzaud
eddf6feb45 modernize CMakeLists.txt files 2020-11-12 07:14:46 +10:00
Denis Rouzaud
fa5bd491fc run code_layout build from top CMakeLists
instead of adding an extra CMakeLists in .ci/travis/code_layout to build API doc, astyle and run tests (indentation, spelling, sip, doc coverage), the top CMakeLists has been adapted to allow not building core libraries and possibly just the static code layout
* astyle has been moved from /src/astyle to /lib/astyle (I would propose to move all external libraries, and possibly add git submodules)
2017-06-05 22:19:20 +02:00
Denis Rouzaud
4021490791 make spell test a proper test and not a standalone script 2017-02-22 15:02:12 +01:00
Juergen E. Fischer
0d5d3bc9b8 travis: add indentation check after running tests 2015-12-04 11:50:42 +01:00
Larry Shaffer
096badd94f Revert most Mac hacks for testing in favor of 4cfc365
- Cleanup of old .qml svg paths to matches other test data .qml
2012-08-26 17:27:18 -06:00
Juergen E. Fischer
4cfc365477 make tests runable without install 2012-08-26 20:19:19 +02:00
Tim Sutton
0491c27d09 Added coordinate system python test and set cmake to copy qgis.db and srs.db into output dir so tests that rely on those can work 2012-08-26 15:13:12 +02:00
Larry Shaffer
9e73629d92 Fix package data and svg paths for cmake and pyqgis tests on Mac 2012-08-24 22:03:46 -06:00
Larry Shaffer
07e3c16c63 Fix Mac path to resources and grass and sqlanywhere provider frameworks for tests
- Any test needing access to QGIS_DATA_SUBDIR (srs.db, svg, etc.) was looking for Resources in the bundled app instead
- This included failure for any call to qgscoordinatereferencesystem.cpp using srs.db and when locating svg icons
- Does not fix QGIS_DATA_SUBDIR in Python tests
- Subtests that were failing, as above, within a given test are still not triggering a fail for the test
- Symlink to grass and sqlanywhere frameworks created just for testing
2012-08-17 15:48:56 -06:00
Radim Blazek
555e028e73 benchmark program 2011-11-20 13:43:21 +01:00
Juergen E. Fischer
b74a515e94 cmake: replace deprecated SUBDIRS with ADD_SUBDIRECTORY 2011-05-27 22:45:08 +02:00
timlinux
c90f2c4e43 Initial commits to build qtests from cmake / ctest. Non functional yet
git-svn-id: http://svn.osgeo.org/qgis/trunk@6949 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-21 17:28:53 +00:00