source: tests/Python/AllActions/listcmds.py

Candidate_v1.6.1
Last change on this file was c015b3, checked in by Frederik Heber <heber@…>, 13 years ago

Added enable-switches for Qt-based GUI and python module and scripts.

  • note that encapsulation in AS_IF is absolutely required as otherwise lateron checks will produce strange errors as required checks reside in an unseen if ..; then branch, initiated by AC_PROG() ... or other contained macros.
  • Added AM_CONDITIIONAL's to modify Makefile.ams depending on above enable switches.
  • AM_COND_IF controls whether certain Makefile's are produced or not.
  • moved Python regression tests into own folder to control whether they are executed or not.
  • molecuildergui and libMolecuilderQtUI are only compiled with qtgui enabled.
  • same for pyMoleCuilder and its scripts only when python enabled.
  • Property mode set to 100644
File size: 362 bytes
RevLine 
[f89b45]1#!/usr/bin/python
2#
3# gathers all Actions in pyMoleCuilder module and tests them with some default
4# values.
5#
6# date: Oct 5, 2011
7# author: Gregor Bollerhey
8
9import pyMoleCuilder as mol
10import sys
11
12cmds = filter(lambda s: s[0] != '_' and s[:10] != 'PythonType', dir(mol))
13
14for value in cmds:
15 sys.stdout.write(value+"\t")
16sys.stdout.write("\n")
17
18sys.exit(0)
19
Note: See TracBrowser for help on using the repository browser.