Commit Graph

91 Commits

Author SHA1 Message Date
Carles Fernandez 8927543028 Add option to install tests executables system-wide
-DENABLE_INSTALL_TESTS=ON enables the installation of the tests
executables when doing "sudo make install". If this option is activated,
such executables will not be copied to the gnss-sdr/install folder.
2017-02-17 01:02:07 +01:00
Carles Fernandez 2111b5bddd Fix installation of auxiliary file for tests 2017-02-16 21:04:38 +01:00
Carles Fernandez e8d6c4c556 Fix execution permitions of gnss_sim when installed on target 2017-02-16 20:53:04 +01:00
Carles Fernandez e94c0cd838 Fix installation of gnss-sim in more environments 2017-02-16 20:03:03 +01:00
Carles Fernandez 6bcb9dea35 Fix installation of gnss-sim and auxiliary files 2017-02-16 19:59:46 +01:00
Carles Fernandez cfba2ddffb Fix execution of unit tests on a device
When -DENABLE_FPGA=ON, run_tests and all the required aux files are
installed on the filesystem
2017-02-16 19:41:11 +01:00
Carles Fernandez 3286ddecde Fix path of auxiliary files 2017-02-16 18:54:37 +01:00
Carles Fernandez 015e195c2a Install FPGA tests on target when cross-compiling 2017-02-15 22:10:06 +01:00
mmajoral d22f4f5f2b Started implementing the code that uses the FPGA HW accelerators and the unit tests. For now the code contains a cloned version of the tracking tests using short complex data types plus a few new class variable definitions 2017-02-13 17:20:49 +01:00
Carles Fernandez f8adffe5c2 Fix execution of extra tests in some environments
and some code cleaning
2017-02-05 20:07:34 +01:00
Carles Fernandez adb088e36c Fix building when Armadillo < 5.300 2017-02-03 12:04:15 +01:00
Carles Fernandez 6e97c5f2f9 Define all the commandline flags of the signal generator in a single
file
2017-02-02 20:07:36 +01:00
Carles Fernandez 92f1f90935 Merge branch 'rinex_fix' of https://github.com/gnss-sdr/gnss-sdr into rinex_fix 2017-02-02 11:24:15 +01:00
Carles Fernandez 2c1ccf0672 Download and build GPSTk and the signal generator also for extra unit tests 2017-02-02 11:23:53 +01:00
Javier Arribas fca151ad6b Adding signal processing unit testing auxiliarily libs to enable automating testing with gnss-simulator-in-the-loop 2017-02-01 19:24:25 +01:00
Carles Fernandez ae55c151e1 Move GPSTK building files to the root of build directory for consistency 2017-02-01 16:39:00 +01:00
Carles Fernandez e6facdcb0c GPSTk is now on GitHub. Retrieve version 2.9 2017-02-01 16:17:58 +01:00
Carles Fernandez c11a20520e Add new configuration option ENABLE_UNIT_TESTING_EXTRA
If set to ON, it donwload some raw signal files and add more tests to run_tests.
This allows a smaller source code tarball.
It defaults to OFF
2017-01-28 16:49:46 +01:00
Carles Fernandez 71c19cac99 Regroup CMake options for testing
-DENABLE_UNIT_TESTING  (defaults to ON): Builds unit tests
-DENABLE_SYSTEM_TESTING  (defaults to OFF): Builds system tests
-DENABLE_SYSTEM_TESTING_EXTRA (defaults to OFF): Builds extra tools (a
software-defined signal generator and GPSTk) and extra system tests
-DENABLE_OWN_GPSTK (defaults to OFF): forces a local download and builds
GPSTk even if it is already installed in your system.

If ENABLE_SYSTEM_TESTING_EXTRA is set to ON, then ENABLE_SYSTEM_TESTING
is also set to ON automatically.

This commit removes the option ENABLE_SW_GENERATOR
2017-01-10 18:57:38 +01:00
Carles Fernandez 7df15841b4 Use GPSTk if found, let the user change that with -DENABLE_OWN_GPSTK=ON
Add diff stdev error computation for carrier phase
2016-12-30 14:36:41 +01:00
Carles Fernandez 19bc085e89 Change name to obs_gps_l1_system_test 2016-12-25 12:49:14 +01:00
Carles Fernandez 7f9d3c385d Simple example of GPSTk usage 2016-12-22 01:35:31 +01:00
Carles Fernandez cdf7fcfa99 Add GPSTk as an optional analysis tool 2016-12-21 18:52:45 +01:00
Carles Fernandez 211b7b34c0 Embed the whole system in a test 2016-12-21 14:21:52 +01:00
Carles Fernandez dda1833646 Add example of gnss-sim usage 2016-12-20 21:43:19 +01:00
Carles Fernandez 61cf9a59f2 Fix bad usage of set 2016-12-20 03:29:40 +01:00
Carles Fernandez 5279c2410e Fix building with openembedded 2016-12-20 03:02:43 +01:00
Carles Fernandez 4a02a1d294 Allow building with OpenEmbedded 2016-12-20 02:35:52 +01:00
Carles Fernandez e02b17d7a1 Clean script 2016-11-28 00:18:02 +01:00
Carles Fernandez 38e4551cf1 Ensure that gtest is built before building run_tests 2016-11-27 13:44:43 +01:00
Carles Fernandez 0425fd3cf2 Fix name of CMake variable 2016-10-27 08:23:25 +02:00
Carles Fernandez 35c10681b9 Change folder name to be more consistent with the website
See http://gnss-sdr.org/docs/
2016-10-10 19:36:41 +02:00
Carles Fernandez 896ae47439 Trigger a building test 2016-10-02 23:32:45 +02:00
Carles Fernandez ba73218747 Improve TTFF report 2016-10-02 21:14:58 +02:00
Carles Fernandez ff4c323b01 Add options to enable/disable building of unit and system testing
Unit Testing is enabled by default. In some memory-constrained
environments it can be useful to disable its building. It can be
disabled by setting -DENABLE_UNIT_TESTING=OFF

System testing is disabled by default. It can be build by setting
-DENABLE_SYSTEM_TESTING=ON
2016-10-02 01:59:12 +02:00
Carles Fernandez 44239e69c3 Start work with TTFF test 2016-09-29 18:31:22 +02:00
Carles Fernandez b7e06dc6a2 Refactor QA code 2016-09-29 12:26:48 +02:00
Carles Fernandez 8aafb23c30 Updating to Googletest 1.8.0 2016-09-23 21:59:00 +02:00
Javier Arribas c8d7a607f8 Adding CPU and GPU multicorrelators unit tests 2016-06-17 12:48:31 +02:00
Javier Arribas 0a5573f666 several receiver configuration mechanism simplifications and several bug fixes. Work in progress 2016-04-21 18:54:08 +02:00
Javier Arribas b4e8966691 Removing the unused Output_filter block from the gnss_sdr flowgraph 2016-04-06 16:12:06 +02:00
Cillian O'Driscoll 26b18c19ee Added a generic tracking_loop_filter class
This implements a generic loop filter. Based on the analog PLL filters
from Kaplan and Hegarty, with a bilinear (Tustin's) transform from
s-plane to z-plane ( 1/s -> T/2 ( 1 + z^-1 )/( 1 - z^-1 ) )

Also added tests. Note the "truth" outputs
were derived from an Octave implementation of the loop filter and
Octave's builtin filter function
2015-11-26 15:12:26 +00:00
Carles Fernandez e4206d38f6 Try to use OpenSSL if GnuTLS with openssl compatibility enabled is not
found.
2015-10-27 20:18:48 +01:00
Cillian O'Driscoll 48ae3f1e83 Added unit tests for unpack_2bit_samples 2015-10-14 09:34:33 +01:00
Carles Fernandez 43c3aa75f1 Simplifying googletest building 2015-08-24 15:59:49 +02:00
Carles Fernandez 4ab078c704 Googletest now lives at GitHub 2015-08-24 13:17:48 +02:00
Carles Fernandez 0dcdf00d19 Fixing linking problems 2015-07-16 15:46:01 +02:00
Carles Fernandez 14e1d94c91 Fixing linking problems 2015-07-16 14:55:52 +02:00
Carles Fernandez 1cfdd23037 some cleaning 2015-02-15 14:53:45 +01:00
Carles Fernandez 3e5332ff57 Fixing Gtest detection 2015-02-15 14:49:17 +01:00