BASIS  version 1.2.3 (revision 2104)
Functions
basistest-cron.sh File Reference

Script intended to be run as cron job to perform automated testing. More...

Go to the source code of this file.

Functions

function realpath (in path)
 Get real path of given file or directory.

Detailed Description

Script intended to be run as cron job to perform automated testing.

This script sets up the environment for the actual master script which handles the automated testing. Further, it uses qsub to submit testing jobs to the configured SGE queue, with the SGE options as set in this script.

Edit this script to change the settings of the automated testing. The default settings are the ones used for the cron job running on the cluster of our lab as the 'swtest' user.

The configuration of automated tests is done in the configuration file for the basistest-master.sh. See value of conf variable below.

Copyright (c) 2011 University of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.

Contact: SBIA Group <sbia-software at uphs.upenn.edu>

Definition in file basistest-cron.sh.


Function Documentation

function realpath ( in  path)

Get real path of given file or directory.

Note:
This function was substituted by BASIS either for the string @BASIS_BASH_UTILITIES@ or @BASIS_BASH_FUNCTION_realpath@.

Example:

 exec_dir=`realpath $0`
Parameters:
[in]pathFile or directory path.
Returns:
Canonical path.
See also:
http://stackoverflow.com/questions/7665/how-to-resolve-symbolic-links-in-a-shell-script