jdk/test/com/sun/jdi/RedefineAnnotation.sh
author ohair
Tue, 28 Dec 2010 15:53:50 -0800
changeset 7668 d4a77089c587
parent 5506 202f599c92aa
child 23046 0b0407b1e2a5
permissions -rw-r--r--
6962318: Update copyright year Reviewed-by: xdono
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#!/bin/sh
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
#
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     4
# Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
# This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
# published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
#
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    23
# questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
#  @test
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
#  @bug 5002251 6407335 6412391
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
#  @summary Redefine a class that has an annotation and verify that the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
#    new annotation is returned.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
#  @run shell RedefineAnnotation.sh
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
compileOptions=-g
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
# Uncomment this to see the JDI trace
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
#jdbOptions=-dbgtrace
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
createJavaFile()
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
{
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
    cat <<EOF > $1.java.1
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
import java.lang.annotation.*;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
import java.lang.reflect.*;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
@Foo(Constants.class_annotation)  // @1 commentout
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
// @1 uncomment @Foo(Constants.new_class_annotation)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
public class $1 {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
@Foo(Constants.field_annotation)  // @1 commentout
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
// @1 uncomment @Foo(Constants.new_field_annotation)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
    public int dummy_field;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
    public static void main(String[] args) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
        MySubClass sub = new MySubClass();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
        MySubSubClass subsub = new MySubSubClass();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
        new $1().hi(false);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
        new $1().hi(true);  // @1 breakpoint
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
        sub.hi(true);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
        subsub.hi(true);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
@Foo(Constants.method_annotation)  // @1 commentout
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
// @1 uncomment @Foo(Constants.new_method_annotation)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
    public void hi(
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
@Foo(Constants.method_parameter_annotation)  // @1 commentout
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
// @1 uncomment @Foo(Constants.new_method_parameter_annotation)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
                   boolean isNewVersion) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
        if (isNewVersion) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
            System.out.println("Checking for NEW versions of annotations in "
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
                + getClass());
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
        // class annotations check:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
        Foo foo = getClass().getAnnotation(Foo.class);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
        if (foo == null) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
          throw new Error("FAIL: cannot get class_annotation from "
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
                        + getClass());
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
        String class_annotation = foo.value();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
        System.out.println("class annotation is: " + class_annotation);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
        if (isNewVersion) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
            if (class_annotation.equals(Constants.new_class_annotation)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
                System.out.println("PASS: class_annotation was changed.");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
            } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
                System.out.println("FAIL: class_annotation was NOT changed.");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
    
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
        // field annotations check:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
        try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
            Field my_field = getClass().getField("dummy_field");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
            foo = my_field.getAnnotation(Foo.class);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
            if (foo == null) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
              throw new Error("FAIL: cannot get field_annotation from "
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
                            + getClass() + ".dummy_field");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
            String field_annotation = foo.value();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
            System.out.println("field annotation is: " + field_annotation);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
            if (isNewVersion) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
                if (field_annotation.equals(Constants.new_field_annotation)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
                    System.out.println("PASS: field_annotation was changed.");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
                } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
                    System.out.println(
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
                        "FAIL: field_annotation was NOT changed.");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
        } catch (NoSuchFieldException nsfe) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
            throw new Error("FAIL: cannot find field 'dummy_field' in "
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
                          + getClass());
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
    
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
        // method annotations check:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
        try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
            Class params[] = new Class[1];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
            params[0] = Boolean.TYPE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
            Method my_method = getClass().getMethod("hi", params);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
            foo = my_method.getAnnotation(Foo.class);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
            if (foo == null) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
              throw new Error("FAIL: cannot get field_annotation from "
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
                            + getClass() + ".hi()");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
            String method_annotation = foo.value();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
            System.out.println("method annotation is: " + method_annotation);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
            if (isNewVersion) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
                if (method_annotation.equals(Constants.new_method_annotation)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
                    System.out.println("PASS: method_annotation was changed.");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
                } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
                    System.out.println(
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
                        "FAIL: method_annotation was NOT changed.");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
        } catch (NoSuchMethodException nsme) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
            throw new Error("FAIL: cannot find method 'hi' in " + getClass());
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
    
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
        // method parameter annotations check:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
        try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
            Class params[] = new Class[1];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
            params[0] = Boolean.TYPE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
            Method my_method = getClass().getMethod("hi", params);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
            Annotation my_annotations[][] = my_method.getParameterAnnotations();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
            if (my_annotations.length != 1) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
                throw new Error("FAIL: unexpected my_annotations.length ("
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
                              + my_annotations.length);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
            Annotation my_annotation[] = my_annotations[0];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
            if (my_annotation.length != 1) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
                throw new Error("FAIL: unexpected my_annotation.length ("
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
                              + my_annotation.length);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
            foo = (Foo)my_annotation[0];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
            String method_parameter_annotation = foo.value();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
            System.out.println("method parameter annotation is: "
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
                + method_parameter_annotation);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
            if (isNewVersion) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
                if (method_parameter_annotation.equals(
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
                    Constants.new_method_parameter_annotation)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
                    System.out.println(
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
                        "PASS: method_parameter_annotation was changed.");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
                } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
                    System.out.println(
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
                        "FAIL: method_parameter_annotation was NOT changed.");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
        } catch (NoSuchMethodException nsme) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
            throw new Error("FAIL: cannot find method 'hi' in " + getClass());
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
// this subclass exists just to make the RedefineClasses() code do a
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
// subclass walk to update the counter
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
class MySubClass extends $1 {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
  int my_int_field_makes_me_different;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
// this subclass exists just to make the RedefineClasses() code do a
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
// sub-subclass walk to update the counter
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
class MySubSubClass extends MySubClass {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
  float my_float_field_makes_me_different;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
class Constants {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
    static final String class_annotation     = "Patrick's class comment";
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
    static final String new_class_annotation = "*NEW* Patrick's class comment";
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
    static final String field_annotation     = "dummy_field comment";
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
    static final String new_field_annotation = "*NEW* dummy_field comment";
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
    static final String method_annotation     = "method hi() comment";
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
    static final String new_method_annotation = "*NEW* method hi() comment";
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
    static final String method_parameter_annotation     =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
        "param isNewVersion comment";
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
    static final String new_method_parameter_annotation =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
        "*NEW* param isNewVersion comment";
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
@Retention(RetentionPolicy.RUNTIME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
@Inherited
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
@interface Foo {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
    String value();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
EOF
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
# This is called to feed cmds to jdb.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
dojdbCmds()
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
    setBkpts @1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
    runToBkpt @1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
    redefineClass @1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
    cmd cont
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
mysetup()
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
    if [ -z "$TESTSRC" ] ; then
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
        TESTSRC=.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
    fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
    for ii in . $TESTSRC $TESTSRC/.. ; do
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
        if [ -r "$ii/ShellScaffold.sh" ] ; then
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
            . $ii/ShellScaffold.sh 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
            break
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
        fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
    done
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
# You could replace this next line with the contents
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
# of ShellScaffold.sh and this script will run just the same.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
mysetup
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
runit
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
debuggeeFailIfPresent 'FAIL:'
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
pass