#! /usr/bin/env python3 # SPDX-License-Identifier: GPL-2.0-or-later # # Copyright Red Hat # Author: David Gibson """ Test A Simple Socket Transport library of test helpers for passt & pasta """ import importlib import sys import exeter MODULES = [ 'cmdsite', 'ip', 'ndp', 'transfer', 'unshare', 'veth', ] if __name__ == '__main__': if sys.argv[1:] == ["--modules"]: for m in MODULES: print(m.replace('.', '/') + '.py') sys.exit(0) for m in MODULES: mod = importlib.import_module('.' + m, __package__) mod.selftests() exeter.main()