tests = files('test_server.py') foreach test : tests name = fs.stem(test) test(name, python, args: [test]) endforeach