Makefile revision 4337
5403N/A# The contents of this file are subject to the terms of the 5403N/A# Common Development and Distribution License (the "License"). 5403N/A# You may not use this file except in compliance with the License. 5403N/A# See the License for the specific language governing permissions 5403N/A# and limitations under the License. 5403N/A# When distributing Covered Code, include this CDDL HEADER in each 5403N/A# If applicable, add the following below this CDDL HEADER, with the 5403N/A# fields enclosed by brackets "[]" replaced with your own identifying 5403N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5403N/A# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. 5403N/A# Used to automatically run the Python 2.6 nose tests even though there was 5403N/A# an error found when running one of the Python 2.7 ones. # Save an original copy of the test script to be able to edit it correctly # for each version of Python and build the tests once. # We need to adjust the script that is used to run the tests, to pick the # appropriate nose in the proto area depending upon which version of Python # we are running the tests against. $(GSED) -e
"s|'build', 'lib\*'|'..', 'build', 'prototype', '$(MACH)', 'usr', 'lib', 'python$(PYTHON_VERSION)', 'vendor-packages\*'|" \
# The test output can contain non-deterministic results because "chances are # you will experience odd, intermittent and unexplainable failures and errors" # when using the multiprocess plug. See: # CR #20470423 has been filed to investigate these failures. # Because of this we use nawk to just extract lines starting with: # stripping out the random portions (like time to complete the tests). COMPONENT_TEST_TRANSFORMS =
"'/^ERROR: / { print }; /^Ran / { sub(\" tests in .+s\", \" tests in\"); print }; /^FAILED / { print }; /^OK / { print };'"