/[escript]/trunk/finley/test/python/SConscript
ViewVC logotype

Log of /trunk/finley/test/python/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 6034 - (view) (annotate) - [select for diffs]
Modified Wed Mar 9 00:37:57 2016 UTC (2 years, 8 months ago) by caltinay
File length: 3721 byte(s)
Diff to previous 6032
a few changes to GroupTest / utest:
GroupTest class now takes a name parameter that is used as (shell) function
name in utest for the test group.
By default all tests are run as before but one can now do:
./utest.sh build '-t2' escriptcpp
to only run the escript c++ unit tests.
Also tweaked a couple things so utest.sh does now work with dash.


Revision 6032 - (view) (annotate) - [select for diffs]
Modified Tue Mar 8 10:02:26 2016 UTC (2 years, 8 months ago) by caltinay
File length: 3699 byte(s)
Diff to previous 5863
hmm, I thought we're using globs...


Revision 5863 - (view) (annotate) - [select for diffs]
Modified Wed Jan 13 02:25:48 2016 UTC (2 years, 10 months ago) by jfenwick
File length: 3683 byte(s)
Diff to previous 5593
Copyright dates updated.
\version for doxygen to read


Revision 5593 - (view) (annotate) - [select for diffs]
Modified Fri Apr 24 01:36:26 2015 UTC (3 years, 6 months ago) by jfenwick
File length: 3683 byte(s)
Diff to previous 5527
Fixing institution name to comply with policy

Revision 5527 - (view) (annotate) - [select for diffs]
Modified Wed Mar 11 03:48:13 2015 UTC (3 years, 8 months ago) by sshaw
File length: 3679 byte(s)
Diff to previous 5496
test dependencies now use desired build path as check


Revision 5496 - (view) (annotate) - [select for diffs]
Modified Thu Feb 26 00:36:29 2015 UTC (3 years, 8 months ago) by sshaw
File length: 3666 byte(s)
Diff to previous 5461
fixing a missing build dependency of pythonMPI existing before individual tests are run

Revision 5461 - (view) (annotate) - [select for diffs]
Modified Fri Feb 13 04:37:51 2015 UTC (3 years, 9 months ago) by jfenwick
File length: 3608 byte(s)
Diff to previous 5448
Passes some tests. Still has bug

Revision 5448 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 05:31:37 2015 UTC (3 years, 9 months ago) by jfenwick
File length: 3566 byte(s)
Diff to previous 5334
Updating all the dates

Revision 5334 - (view) (annotate) - [select for diffs]
Modified Wed Dec 10 04:10:41 2014 UTC (3 years, 11 months ago) by sshaw
File length: 3566 byte(s)
Diff to previous 5325
more finley test cleanup


Revision 5325 - (view) (annotate) - [select for diffs]
Modified Tue Dec 9 04:53:14 2014 UTC (3 years, 11 months ago) by sshaw
File length: 3664 byte(s)
Diff to previous 5017
9000 less tests are skipped, partly removing skips, partly removing duplicate test file

Revision 5017 - (view) (annotate) - [select for diffs]
Modified Tue Jun 10 02:16:18 2014 UTC (4 years, 5 months ago) by sshaw
File length: 3701 byte(s)
Diff to previous 4983
scons now runs tests via a testrunner to collect lists of skipped tests in build/ (examples have their own builder since they aren't unit tests)
fixed hessian regularisation tests falling over by adding a shortcircuit optional arg that returns the pde, not the solution
added missing/omitted tests back into scons tests


Revision 4983 - (view) (annotate) - [select for diffs]
Modified Mon Jun 2 02:32:23 2014 UTC (4 years, 5 months ago) by sshaw
File length: 3640 byte(s)
Diff to previous 4680
removing missing/leftover test files from test list

Revision 4680 - (view) (annotate) - [select for diffs]
Modified Mon Feb 17 04:04:40 2014 UTC (4 years, 8 months ago) by jduplessis
File length: 3708 byte(s)
Diff to previous 4677
changed name


Revision 4677 - (view) (annotate) - [select for diffs]
Modified Mon Feb 17 02:49:59 2014 UTC (4 years, 8 months ago) by jduplessis
File length: 3692 byte(s)
Diff to previous 4657
adding nlpde tests


Revision 4657 - (view) (annotate) - [select for diffs]
Modified Thu Feb 6 06:12:20 2014 UTC (4 years, 9 months ago) by jfenwick
File length: 3599 byte(s)
Diff to previous 4509
I changed some files.
Updated copyright notices, added GeoComp.




Revision 4509 - (view) (annotate) - [select for diffs]
Modified Wed Jul 24 08:37:29 2013 UTC (5 years, 3 months ago) by jfenwick
File length: 3531 byte(s)
Diff to previous 4508
Fixed paths for utest.sh


Revision 4508 - (view) (annotate) - [select for diffs]
Modified Wed Jul 24 04:23:22 2013 UTC (5 years, 3 months ago) by jfenwick
File length: 3527 byte(s)
Diff to previous 4154
Moving to escriptcore

Revision 4154 - (view) (annotate) - [select for diffs]
Modified Tue Jan 22 09:30:23 2013 UTC (5 years, 9 months ago) by jfenwick
File length: 3523 byte(s)
Diff to previous 4078
Round 1 of copyright fixes

Revision 4078 - (view) (annotate) - [select for diffs]
Modified Fri Nov 16 07:50:49 2012 UTC (5 years, 11 months ago) by jfenwick
File length: 3523 byte(s)
Diff to previous 4003
Unit tests for binary install with no scons and no source tree.
Script for installing and testing a .deb within a chroot.




Revision 4003 - (view) (annotate) - [select for diffs]
Modified Fri Sep 28 00:20:01 2012 UTC (6 years, 1 month ago) by jfenwick
File length: 3521 byte(s)
Diff to previous 3999
Load balancing on unit tests

Revision 3999 - (view) (annotate) - [select for diffs]
Modified Thu Sep 27 01:31:07 2012 UTC (6 years, 1 month ago) by jfenwick
File length: 3300 byte(s)
Diff to previous 3982
Splitting tests


Revision 3982 - (view) (annotate) - [select for diffs]
Modified Fri Sep 21 03:23:22 2012 UTC (6 years, 1 month ago) by jfenwick
File length: 2898 byte(s)
Diff to previous 3975
More edits + removing pyvisi from trunk


Revision 3975 - (view) (annotate) - [select for diffs]
Modified Thu Sep 20 01:54:06 2012 UTC (6 years, 1 month ago) by caltinay
File length: 2779 byte(s)
Diff to previous 3911
Merged symbolic branch into trunk. Curious what daniel and spartacus have to
say...


Revision 3911 - (view) (annotate) - [select for diffs]
Modified Thu Jun 14 01:01:03 2012 UTC (6 years, 5 months ago) by jfenwick
File length: 2756 byte(s)
Diff to previous 3892
Copyright changes

Revision 3892 - (view) (annotate) - [select for diffs]
Modified Tue Apr 10 08:57:23 2012 UTC (6 years, 7 months ago) by jfenwick
File length: 2756 byte(s)
Diff to previous 3578
Merged changes across from the attempt2 branch.
This version builds and passes python2 tests.
It also passes most python3 tests.




Revision 3578 - (view) (annotate) - [select for diffs]
Modified Mon Sep 5 23:18:45 2011 UTC (7 years, 2 months ago) by gross
File length: 2682 byte(s)
Diff to previous 3502
Missing dependence added (?) and typo in test files fixed.

Revision 3502 - (view) (annotate) - [select for diffs]
Modified Thu Apr 28 05:06:24 2011 UTC (7 years, 6 months ago) by gross
File length: 2647 byte(s)
Diff to previous 3403
Darcy flow solver is now supporting 4 solvers

Revision 3403 - (view) (annotate) - [select for diffs]
Modified Tue Dec 7 08:13:51 2010 UTC (7 years, 11 months ago) by gross
File length: 2618 byte(s)
Diff to previous 3349
some small fixes

Revision 3349 - (view) (annotate) - [select for diffs]
Modified Mon Nov 15 05:09:56 2010 UTC (8 years ago) by caltinay
File length: 2635 byte(s)
Diff to previous 3344
escript now supports out-of-tree builds.
All build and test files are now created under a user-definable build_dir
directory.
This also fixes issue 291.
Removed most svn:ignore props since they are no longer required.


Revision 3344 - (view) (annotate) - [select for diffs]
Modified Thu Nov 11 23:26:52 2010 UTC (8 years ago) by caltinay
File length: 2626 byte(s)
Diff to previous 3283
Phew!
-escript, finley, and dudley now uses weipa's saveVTK implementation
-moved tests from finley to weipa accordingly; dudley still to do
-rebaselined all test files
-fixed a few issues in weipa.saveVTK, e.g. saving metadata without schema
-added a deprecation warning to esys.escript.util.saveVTK
-todo: change doco, tests and other places to use weipa.saveVTK



Revision 3283 - (view) (annotate) - [select for diffs]
Modified Mon Oct 18 22:39:28 2010 UTC (8 years ago) by gross
File length: 2624 byte(s)
Diff to previous 3259
AMG reengineered, BUG is Smoother fixed.



Revision 3259 - (view) (annotate) - [select for diffs]
Modified Mon Oct 11 01:48:14 2010 UTC (8 years, 1 month ago) by jfenwick
File length: 2579 byte(s)
Diff to previous 2881
Merging dudley and scons updates from branches


Revision 2881 - (view) (annotate) - [select for diffs]
Modified Thu Jan 28 02:03:15 2010 UTC (8 years, 9 months ago) by jfenwick
File length: 2985 byte(s)
Diff to previous 2748
Don't panic.
Updating copyright stamps


Revision 2748 - (view) (annotate) - [select for diffs]
Modified Tue Nov 17 07:32:59 2009 UTC (8 years, 11 months ago) by gross
File length: 2985 byte(s)
Diff to previous 2548
Macro elements are implemented now. VTK writer for macro elements still needs testing.

Revision 2548 - (view) (annotate) - [select for diffs]
Modified Mon Jul 20 06:20:06 2009 UTC (9 years, 3 months ago) by jfenwick
File length: 2938 byte(s)
Diff to previous 2235
Updating copyright notices

Revision 2235 - (view) (annotate) - [select for diffs]
Modified Tue Feb 3 01:47:47 2009 UTC (9 years, 9 months ago) by jfenwick
File length: 2938 byte(s)
Diff to previous 1937
Added support for generating non-scons test scripts

Revision 1937 - (view) (annotate) - [select for diffs]
Modified Tue Oct 28 01:26:55 2008 UTC (10 years ago) by ksteube
File length: 2569 byte(s)
Diff to previous 1894
Created a mid-sized test suite 'scalable_tests' as an alternative to 'all_tests'.
These run on small-ish systems and also on all 512 cores of Savanna.
Most features are covered, but it's better to use 'all_tests'.


Revision 1894 - (view) (annotate) - [select for diffs]
Modified Sat Oct 18 11:00:08 2008 UTC (10 years ago) by phornby
File length: 2325 byte(s)
Diff to previous 1811
Break run_linearPDEsOnFinley.py into 3 separate test modules to avoid crashes on winblows

Revision 1811 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 23:11:13 2008 UTC (10 years, 1 month ago) by ksteube
File length: 2238 byte(s)
Diff to previous 1754
Copyright updated in all files


Revision 1754 - (view) (annotate) - [select for diffs]
Modified Sun Sep 7 22:07:26 2008 UTC (10 years, 2 months ago) by ksteube
File length: 2261 byte(s)
Diff to previous 1705
Added new test suite run_inputOutput.py to systematically test I/O.
Can determine if two domains are same with Fourier analysis.
Added new method getNumDataPointsGlobal to return number of DPs of a distributed mesh.
Reading of tags in ReadMeshMPI failed occasionally, should be more robust now.


Revision 1705 - (view) (annotate) - [select for diffs]
Modified Thu Aug 14 05:56:40 2008 UTC (10 years, 3 months ago) by ksteube
File length: 2226 byte(s)
Diff to previous 1388
Branch scons-dev is hereby closed.
Some parts of scons scripts have been re-written.


Revision 1388 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 07:45:58 2008 UTC (10 years, 10 months ago) by trankine
File length: 2155 byte(s)
Diff to previous 1387
And get the *(&(*&(* name right

Revision 1387 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 07:45:26 2008 UTC (10 years, 10 months ago) by trankine
Original Path: temp/finley/test/python/SConscript
File length: 2155 byte(s)
Diff to previous 1384
Restore the trunk that existed before the windows changes were committed to the (now moved to branches) old trunk.

Revision 1384 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 02:29:38 2008 UTC (10 years, 10 months ago) by phornby
Original Path: temp_trunk_copy/finley/test/python/SConscript
File length: 2155 byte(s)
Diff to previous 1312
Make a temp copy of the trunk before checking in the windows changes



Revision 1312 - (view) (annotate) - [select for diffs]
Modified Mon Sep 24 06:18:44 2007 UTC (11 years, 1 month ago) by ksteube
File length: 2155 byte(s)
Diff to previous 1133
The MPI branch is hereby closed. All future work should be in trunk.

Previously in revision 1295 I merged the latest changes to trunk into trunk-mpi-branch.
In this revision I copied all files from trunk-mpi-branch over the corresponding
trunk files. I did not use 'svn merge', it was a copy.


Revision 1133 - (view) (annotate) - [select for diffs]
Modified Tue May 8 07:19:33 2007 UTC (11 years, 6 months ago) by gross
File length: 2196 byte(s)
Diff to previous 757
Changes needed for windows. This still does not work on and has not run on linux and the altix. 
 
There are a few changes in names in the scons script, in particular _libs is used rather than _lib and _libs is always a list. By default on windows MSVC is used. The location of python is at C:\Program Files\python<version>, boost at C:\Program Files\boost and netcdf at C:\Program Files\netcdf. 

 

Revision 757 - (view) (annotate) - [select for diffs]
Modified Mon Jun 26 13:12:56 2006 UTC (12 years, 4 months ago) by woo409
File length: 2155 byte(s)
Diff to previous 720
+ Merge of intelc_win32 branch (revision 741:755) with trunk. Tested on iVEC altix (run_tests and py_tests all pass)


Revision 720 - (view) (annotate) - [select for diffs]
Modified Thu Apr 27 10:16:05 2006 UTC (12 years, 6 months ago) by gross
File length: 2155 byte(s)
Diff to previous 714
formatting errors in epydoc tags fixed

Revision 714 - (view) (annotate) - [select for diffs]
Modified Thu Apr 27 05:42:33 2006 UTC (12 years, 6 months ago) by elspeth
File length: 2193 byte(s)
Diff to previous 709
Fixed python test

Revision 709 - (view) (annotate) - [select for diffs]
Modified Wed Apr 26 06:35:36 2006 UTC (12 years, 6 months ago) by gross
File length: 2155 byte(s)
Diff to previous 707
fixes to get scons py_tests going: mainly fixes in the pathes

Revision 707 - (view) (annotate) - [select for diffs]
Modified Wed Apr 12 23:58:02 2006 UTC (12 years, 7 months ago) by gross
File length: 2145 byte(s)
Diff to previous 706
latex build documentation is working now

Revision 706 - (view) (annotate) - [select for diffs]
Modified Sat Apr 8 16:13:02 2006 UTC (12 years, 7 months ago) by gross
File length: 1983 byte(s)
Diff to previous 705
python tests compile and run but there is still a problem with dependencies'


Revision 705 - (view) (annotate) - [select for diffs]
Modified Fri Apr 7 17:57:37 2006 UTC (12 years, 7 months ago) by gross
File length: 1734 byte(s)
Diff to previous 700
python tests are allmost working

Revision 700 - (view) (annotate) - [select for diffs]
Modified Thu Apr 6 00:13:40 2006 UTC (12 years, 7 months ago) by gross
File length: 1587 byte(s)
Diff to previous 690
A few changes in the build mechanism and the file structure so scons can build release tar files:

  * paso/src/Solver has been moved to paso/src 
  * all test_.py are now run_.py files and are assumed to be passing python tests. they can run by 
    scons py_tests and are part of the release test set
  * escript/py_src/test_ are moved to escript/test/python and are installed in to the build directory 
    (rather then the PYTHONPATH).
  * all py files in test/python which don't start with run_ or test_ are now 'local_py_tests'. they are installed i
    by not run automatically.
  * CppUnitTest is now treated as a escript module (against previous decisions).
  * scons realse builds nor tar/zip files with relvant source code (src and tests in seperate files)

the python tests don't pass yet due to path problems.



Revision 690 - (view) (annotate) - [select for diffs]
Modified Tue Mar 28 07:18:51 2006 UTC (12 years, 7 months ago) by robwdcock
File length: 858 byte(s)
Diff to previous 682
+ Added basic_py_tests target which will run the basic set of python tests. The list of python tests was taken from autoscons


Revision 682 - (view) (annotate) - [select for diffs]
Modified Mon Mar 27 02:43:09 2006 UTC (12 years, 7 months ago) by robwdcock
File length: 620 byte(s)
Copied from: branches/ROBW_XPLATFORM/finley/test/python/SConscript revision 681
Diff to previous 676
+ NEW BUILD SYSTEM

This commit contains the new build system with cross-platform support.
Most things work are before though you can have more control.

ENVIRONMENT settings have changed:
+ You no longer require LD_LIBRARY_PATH or PYTHONPATH to point to the
esysroot for building and testing performed via scons
+ ACcESS altix users: It is recommended you change your modules to load
the latest intel compiler and other libraries required by boost to match
the setup in svn (you can override). The correct modules are as follows

module load intel_cc.9.0.026
export
MODULEPATH=${MODULEPATH}:/data/raid2/toolspp4/modulefiles/gcc-3.3.6
module load boost/1.33.0/python-2.4.1
module load python/2.4.1
module load numarray/1.3.3



Revision 676 - (view) (annotate) - [select for diffs]
Modified Sun Mar 26 10:13:34 2006 UTC (12 years, 7 months ago) by robwdcock
Original Path: branches/ROBW_XPLATFORM/finley/test/python/SConscript
File length: 620 byte(s)
Diff to previous 661
+ Modified test SConscript dependencies to remove redundant call to explicit dependency
+ Modified scon_extensions.py - run unit tests (py and C++) now use scons::Execute rather than python os.system. This ensures the development environment
is used rather than the users environment to run the tests
+ SConstruct file now sets up LD_LIBRARY_PATH and PYTHONPATH to point to the current builds pyinstall and libinstall paths as required.
IT IS NO LONGER NECESSARY TO SET LD_LIBRARY_PATH and PYTHONPATH to point at your build outputs. Much safer in the presence of multiple checked out builds.
Under these circumstances you are better of using scons to run the tests rather than doing so directly. Easiest way to do this is to build the test output target for the test you want:
e.g. scons build/posix/bruce/test/python/ImportTest.passed
or if you prefer
cd build/posix/bruce/test/python
scons -u ImportTest.passed



Revision 661 - (view) (annotate) - [select for diffs]
Added Fri Mar 24 09:13:00 2006 UTC (12 years, 7 months ago) by robwdcock
Original Path: branches/ROBW_XPLATFORM/finley/test/python/SConscript
File length: 646 byte(s)
+py_tests now runs. Be patient, it is all of them!!


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26