120N/A# The contents of this file are subject to the terms of the 120N/A# Common Development and Distribution License (the "License"). 120N/A# You may not use this file except in compliance with the License. 120N/A# See the License for the specific language governing permissions 120N/A# and limitations under the License. 120N/A# When distributing Covered Code, include this CDDL HEADER in each 120N/A# If applicable, add the following below this CDDL HEADER, with the 120N/A# fields enclosed by brackets "[]" replaced with your own identifying 120N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5270N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. 5680N/A# we need to first generate the test suite 5270N/A# the shared library we create needs to be built pic 5270N/A# this is cheesy but the tests don't seem to 5270N/A# get compiled with the CFLAGS we built bison 5270N/A# with, so they are 32-bit otherwise. 4339N/A# the test suite actually generates a script 4339N/A# that runs the just-built bison against the 4339N/A# just-built files. to make it run the system 4339N/A# one, we can just replace that script with 3993N/A# Strip compilation lines from test output 5270N/A# and strange backslash lines. and random output, 5270N/A# including rm complaints over nfs 3993N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
3993N/A '-e "s|^.*$(CXX).*$$|XXX_CC_XXX|g" ' \
3993N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
3993N/A '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
4339N/A '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
4339N/A '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
5270N/A '-e "s|^make.*: Nothing to be done for.*$$|XXX_CC_XXX|g" ' \
5270N/A '-e "s|^make.*: .*is up to date.*$$|XXX_CC_XXX|g" ' \
5270N/A '-e "s|^mv -f.*$$|XXX_CC_XXX|g" ' \
5270N/A '-e "s|^.$$|XXX_CC_XXX|g" ' \
5270N/A '-e "s|^updating examples.*$$|XXX_CC_XXX|g" ' \
5270N/A '-e "s|^rm:.*directory renamed.*$$|XXX_CC_XXX|g" ' \