source: projects/ckbs/trunk/test.sh @ 95

Last change on this file since 95 was 61, checked in by bradbell, 11 years ago

[ckbs/trunk] Add helper shell scripts.

build.sh: plan to replace with Coin automatic tarball generation.
commit.sh: aids with svn commit commands.
svn_status.sh: removes certain files from svn status results.
test.sh: runs the tests and returns error flag.
build_doc.sh: downloads OMhelp and builds the documentation.

COPYING: remove unecessary file.

  • Property svn:executable set to *
File size: 578 bytes
Line 
1#! /bin/sh
2# -------------------------------------------------------------------
3# ckbs: Constrained Kalman-Bucy Smoother Program: Copyright (C) 2006
4# Authors: Bradlely Bell:        bradbell at washington dot edu
5#          Gianluigi Pillonetto: giapi at dei dot unipd dot it
6# License: GNU General Public License Version 2
7# -------------------------------------------------------------------
8#
9cd test
10cat << EOF > test.$$
11if all_ok
12        exit(0)
13else
14        exit(1)
15end
16EOF
17if ! octave --silent test.$$
18then
19        rm test.$$
20        echo "test.sh: test/all_ok failed"
21        exit 1
22fi
23rm test.$$
24exit 0
Note: See TracBrowser for help on using the repository browser.