In heptapod CI we create a skiplist of test-check* and don't want to run in
other test suites as we have specific test suite for checks. However the
skiplist was not working fine because we were putting test names in form of
tests/test-check* in it which does not work with our test runner.
We get the basename of the file and then put it in skiplist.