3
## Package: Babel regression driver
4
## Revision: $Revision: 4618 $
5
## Modified: $Date: 2005-05-09 15:54:29 -0700 (Mon, 09 May 2005) $
6
## Description: regression driver for sidl generation tests
8
## Copyright (c) 2003, The Regents of the University of Calfornia.
9
## Produced at the Lawrence Livermore National Laboratory.
10
## Written by the Components Team <components@llnl.gov>
12
## All rights reserved.
14
## This file is part of Babel. For more information, see
15
## http:##www.llnl.gov/CASC/components/. Please read the COPYRIGHT file
16
## for Our Notice and the LICENSE file for the GNU Lesser General Public
19
## This program is free software; you can redistribute it and/or modify it
20
## under the terms of the GNU Lesser General Public License (as published by
21
## the Free Software Foundation) version 2.1 dated February 1999.
23
## This program is distributed in the hope that it will be useful, but
24
## WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
25
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
26
## conditions of the GNU Lesser General Public License for more details.
28
## You should have recieved a copy of the GNU Lesser General Public License
29
## along with this program; if not, write to the Free Software Foundation,
30
## Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
37
echo "TEST_BEGIN 1 wrapper.sidl->sidl"
39
diff ./sidl/wrapper.sidl ./xml/wrapper.sidl > /dev/null \
40
&& (echo "RESULT 1 PASS" && echo "TEST_RESULT PASS") \
41
|| (echo "RESULT 1 FAIL" && echo "TEST_RESULT FAIL")
44
echo "TEST_BEGIN 1 wrapper.Data.XML->XML"
46
grep -v Metadata ./xml/wrapper.Data-*.xml > temp
47
grep -v Metadata ./xml2/wrapper.Data-*.xml > temp2
48
diff temp temp2 > /dev/null \
49
&& (echo "RESULT 1 PASS" && echo "TEST_RESULT PASS") \
50
|| (echo "RESULT 1 FAIL" && echo "TEST_RESULT FAIL")
52
echo "TEST_BEGIN 1 wrapper.User.XML->XML"
54
grep -v Metadata ./xml/wrapper.User-*.xml > temp
55
grep -v Metadata ./xml2/wrapper.User-*.xml > temp2
56
diff temp temp2 > /dev/null \
57
&& (echo "RESULT 1 PASS" && echo "TEST_RESULT PASS") \
58
|| (echo "RESULT 1 FAIL" && echo "TEST_RESULT FAIL")
60
echo "TEST_BEGIN 1 wrapper.XML->XML"
62
grep -v Metadata ./xml/wrapper-*.xml > temp
63
grep -v Metadata ./xml2/wrapper-*.xml > temp2
64
diff temp temp2 > /dev/null \
65
&& (echo "RESULT 1 PASS" && echo "TEST_RESULT PASS") \
66
|| (echo "RESULT 1 FAIL" && echo "TEST_RESULT FAIL")