PDU handling fixes
[gsmd2.git] / test / check_tests.py
blob7066d181a10ec6e3b0fb0cddd51f3c9bb36883d0
1 # Copyright(C) 2007,2008 Ixonos Plc
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2, or (at your option)
6 # any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Boston, MA 02111.
17 # Written by Matti Katila, Yi Zheng, Vesa Pikki and Heikki Paajanen
19 import unittest
20 from call_unit import CallTests
21 from sms_unit import SMSTests
22 from sim_unit import SIMTests
23 from device_unit import DeviceTests
24 from network_unit import NetworkTests
25 from phonebook_unit import PhonebookTests
26 from mux_unit import MuxTests
27 from gsmd_unit import GSMDTests
29 #from pdp_unit import PDPTests
30 #from storage_unit import StorageTests
32 if __name__ == "__main__":
33 # import os
34 # os.spawnvpe(os.P_WAIT, "ls",("ls", "-l"), os.environ)
35 try:
36 unittest.main(testRunner=unittest.TextTestRunner(verbosity=2))
37 except SystemExit:
38 pass
39 except:
40 import traceback, sys
41 traceback.print_exc(file=sys.stdout)
42 import dbus_thread
43 dbus_thread.stop_thread()
44 sys.exit(1)