-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathoof2-test.in
31 lines (25 loc) · 1.09 KB
/
oof2-test.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
30
#!@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 regression test suite. It
# just wraps TEST/regression.py. There's no difference between running
# this script and running "python regression.py" in the TEST
# directory except that with this script the user doesn't have to know
# how to find regression.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__))
import TEST
from TEST import regression
homedir = os.path.dirname(regression.__file__)
regression.run(homedir)