/* * Copyright © 2020 Michael Gratton * * This software is licensed under the GNU Lesser General Public License * (version 2.1 or later). See the COPYING file in this distribution. */ int main(string[] args) { Test.init(ref args); unowned TestSuite root = TestSuite.get_root(); root.add_suite(new TestAssertions().steal_suite()); root.add_suite(new CollectionAssertions().steal_suite()); MainLoop loop = new MainLoop (); int ret = -1; Idle.add(() => { ret = Test.run(); loop.quit(); return false; }); loop.run(); return ret; }