-
Notifications
You must be signed in to change notification settings - Fork 11
/
oof2-guitest.in
29 lines (24 loc) · 1.07 KB
/
oof2-guitest.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!@Python3_EXECUTABLE@
# -*- python -*-
# This software was produced by NIST, an agency of the U.S. government,
# and by statute is not subject to copyright in the United States.
# Recipients of this software assume all responsibilities associated
# with its operation, modification and maintenance. However, to
# facilitate maintenance we ask that before distributing modified
# versions of this software, you first contact the authors at
# This is the start up script for the oof2 gui test suite. It
# just wraps TEST/GUI/guitests.py. There's no difference between running
# this script and running "python guitests.py" in the TEST/GUI
# directory except that with this script the user doesn't have to know
# how to find guitests.py.
import sys
import os
from math import *
# This should make it unnecessary for users to set PYTHONPATH themselves.
sys.path.append("@CMAKE_INSTALL_PREFIX@/@SITE_PACKAGES@")
import oof2
sys.path.append(os.path.dirname(oof2.__file__))
from TEST.GUI import guitests
homedir = os.path.dirname(guitests.__file__)
guitests.run(homedir)