diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 503e0a7..1c923e9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,3 +30,11 @@ test: # name of task script: # run in bash - cd build - make check test + +valgrind: # name of task + stage: test # in what stage it will run ( 1. build then test etc ) + tags: # Tags are used to choose correct gitlab-runner + - hw # spaceti-runner server has running runners and one has tag 'hw' + script: # run in bash + - cd build + - valgrind make check test diff --git a/test/unittests/tst_request.cpp b/test/unittests/tst_request.cpp index d968b62..d1417c7 100644 --- a/test/unittests/tst_request.cpp +++ b/test/unittests/tst_request.cpp @@ -4,7 +4,7 @@ namespace core { -void RequestTest::auth_test() +void RequestTest::basicAuthorization_test() { QString expected = "Basic VGVzdGVyOlRlc3Q="; Request req; diff --git a/test/unittests/tst_request.h b/test/unittests/tst_request.h index af4d1f1..6e83a15 100644 --- a/test/unittests/tst_request.h +++ b/test/unittests/tst_request.h @@ -15,7 +15,7 @@ private: // void wont_run(); // no Q_SLOT ( only slots will be runned within tests ) - Q_SLOT void auth_test(); + Q_SLOT void basicAuthorization_test(); }; } //