trying to implement valgrind test

This commit is contained in:
Filip Bucek 2019-11-05 09:35:21 +01:00
parent f9e65feb5f
commit c69bf4d2be
3 changed files with 10 additions and 2 deletions

View File

@ -30,3 +30,11 @@ test: # name of task
script: # run in bash script: # run in bash
- cd build - cd build
- make check test - 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

View File

@ -4,7 +4,7 @@
namespace core { namespace core {
void RequestTest::auth_test() void RequestTest::basicAuthorization_test()
{ {
QString expected = "Basic VGVzdGVyOlRlc3Q="; QString expected = "Basic VGVzdGVyOlRlc3Q=";
Request req; Request req;

View File

@ -15,7 +15,7 @@ private:
// void wont_run(); // no Q_SLOT ( only slots will be runned within tests ) // void wont_run(); // no Q_SLOT ( only slots will be runned within tests )
Q_SLOT void auth_test(); Q_SLOT void basicAuthorization_test();
}; };
} // } //