Makefile revision 5343
147N/A# The contents of this file are subject to the terms of the 147N/A# Common Development and Distribution License (the "License"). 147N/A# You may not use this file except in compliance with the License. 147N/A# See the License for the specific language governing permissions 147N/A# and limitations under the License. 147N/A# When distributing Covered Code, include this CDDL HEADER in each 147N/A# If applicable, add the following below this CDDL HEADER, with the 147N/A# fields enclosed by brackets "[]" replaced with your own identifying 147N/A# information: Portions Copyright [yyyy] [name of copyright owner] 147N/A# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. 806N/A# Used to automatically run the Python 2.6 nose tests even though there was 147N/A# an error found when running one of the Python 2.7 ones. 806N/A# Save an original copy of the test script to be able to edit it correctly 206N/A# for each version of Python and build the tests once. 1938N/A# We need to adjust the script that is used to run the tests, to pick the 1938N/A# appropriate nose in the proto area depending upon which version of Python 3477N/A# we are running the tests against. 147N/A $(GSED) -e
"s|'build', 'lib\*'|'..', 'build', 'prototype', '$(MACH)', 'usr', 'lib', 'python$(PYTHON_VERSION)', 'vendor-packages\*'|" \
147N/A# The test output can contain non-deterministic results because "chances are 181N/A# you will experience odd, intermittent and unexplainable failures and errors" 147N/A# when using the multiprocess plug. See: 147N/A# 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 };'"