PageRenderTime 41ms CodeModel.GetById 13ms RepoModel.GetById 1ms app.codeStats 0ms

/runtime/nmr/regress/regress_defs.ksh

https://bitbucket.org/openesb/openesb-core
Korn Shell | 63 lines | 20 code | 6 blank | 37 comment | 2 complexity | 254325535fefb14fdbdcc7a84369405c MD5 | raw file
  1. #
  2. # BEGIN_HEADER - DO NOT EDIT
  3. #
  4. # The contents of this file are subject to the terms
  5. # of the Common Development and Distribution License
  6. # (the "License"). You may not use this file except
  7. # in compliance with the License.
  8. #
  9. # You can obtain a copy of the license at
  10. # https://open-esb.dev.java.net/public/CDDLv1.0.html.
  11. # See the License for the specific language governing
  12. # permissions and limitations under the License.
  13. #
  14. # When distributing Covered Code, include this CDDL
  15. # HEADER in each file and include the License file at
  16. # https://open-esb.dev.java.net/public/CDDLv1.0.html.
  17. # If applicable add the following below this CDDL HEADER,
  18. # with the fields enclosed by brackets "[]" replaced with
  19. # your own identifying information: Portions Copyright
  20. # [year] [name of copyright owner]
  21. #
  22. #
  23. # @(#)regress_defs.ksh
  24. # Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
  25. #
  26. # END_HEADER - DO NOT EDIT
  27. #
  28. #common definitions for nmr regression tests.
  29. ####
  30. # Source the esb definitions
  31. ####
  32. . $SRCROOT/antbld/regress/esb_common_defs.ksh
  33. export REGRESS_CLASSPATH
  34. REGRESS_CLASSPATH="$JV_SVC_CLASSES\
  35. ${JBI_PS}$JV_SVC_TEST_CLASSES\
  36. ${JBI_PS}$JV_JBI_HOME/lib/jbi_rt.jar\
  37. ${JBI_PS}$AS_INSTALL/lib/SUNWjdmk/5.1/lib/jdmkrt.jar\
  38. ${JBI_PS}$AS_INSTALL/lib/jmxremote_optional.jar\
  39. ${JBI_PS}$AS_INSTALL/lib/appserv-admin.jar\
  40. ${JBI_PS}$AS_INSTALL/lib/appserv-rt.jar\
  41. ${JBI_PS}$AS_INSTALL/lib/javaee.jar\
  42. "
  43. # Calls ant with jbi.task.fail.on.error=false so that we can track negative
  44. # test case output in the .out file
  45. export JBI_ANT_NEG
  46. JBI_ANT_NEG="$JBI_ANT -Djbi.task.fail.on.error=false"
  47. #
  48. # The target could be passed to this script.
  49. # jbiadmin00116 runs this test with target=cluster1
  50. #
  51. if [ "$1" != "" ]; then
  52. JBI_ANT_TARGET="$JBI_ANT -Djbi.target=$1"
  53. JBI_ANT_NEG_TARGET="$JBI_ANT -Djbi.target=$1 -Djbi.task.fail.on.error=false"
  54. else
  55. JBI_ANT_TARGET="$JBI_ANT"
  56. JBI_ANT_NEG_TARGET="$JBI_ANT_NEG"
  57. fi