...
1.2. Prepare FC2K TestingFramwework
If you want to work with most recent codes of FC2K (not released yet), you should either get it from trunk or from development branch.
Code Block | ||
---|---|---|
| ||
svn checkout httpshttp://gforgegforge6.efda-itmeufus.eu/svn/fc2k cd fc2k/trunk make source ./setup |
If you want to work with development branch (it might have new features but, at the same time, it might be little bit behind current developments inside trunk) you can checkout a particular branch of FC2K.
Code Block | ||
---|---|---|
| ||
svn checkout http://gforge6.eufus.eu/svn/fc2k cd fc2k/branches/trunknew_feature make source ./setup |
2.
...
Checking out FC2K Testing Framework
FC2K Testing Framework is a set of components that allow to test whole chain of execution. From native code compilation to workflow execution.
Code Block |
---|
$> cd fc2k svn co http://gforge6.eufus.eu/svn/fc2ktf $> cd fc2ktf/trunk/TestingFramework $> ./run_test.sh --- Starting test for: eq2eq --- Actor: eq2eq - OK Skipping log removal --- Finished test for: eq2eq --- --- Starting test for: eq2eqmpi --- Actor: eq2eqmpi - OK Skipping log removal --- Finished test for: eq2eqmpi --- --- Starting test for: mpi --- Actor: mpi - OK Skipping log removal --- Finished test for: mpi --- --- Starting test for: nocpo --- Actor: nocpo - OK Skipping log removal --- Finished test for: nocpo --- --- Starting test for: nocpo_param --- Actor: nocpo_param - OK Skipping log removal --- Finished test for: nocpo_param --- --- Starting test for: stringinout --- Actor: stringinout - OK Skipping log removal --- Finished test for: stringinout --- |
...
Code Block |
---|
./eq2eqmpi/test.log ./mpi/test.log ./eq2eq/test.log ./stringinout/test.log ./nocpo/test.log ./nocpo_param/test.log |
3. Integrating new actor with Testing Framework
It is possible to integrate new actor with FC2K Testing Framework, however, it requires following a convention. Basically, the most simple test can provide only one script
Code Block | ||
---|---|---|
| ||
run_test.sh |
This test is responsible for running and reporting status of test execution.
Default set of tests, provides testing of common cases based on FC2K and Kepler.