components/lua/Makefile
author Shawn Ferry <shawn.ferry@oracle.com>
Mon, 28 Nov 2016 16:54:02 -0800
changeset 7565 48aa82a0931f
parent 5843 9cefd39b551b
child 7687 1093e2a9adbd
permissions -rw-r--r--
PSARC/2016/607 Puppet 4.7.0, Hiera 3.2.0 19429313 address_object type should support vrrp addresses 19888183 publisher provider is applied on each puppet run 22125767 nsswitch provider missing ipnodes, protocols, printers 22126108 add process scheduler administration provider 22960016 Puppet needs a native way to set ZFS ACLs 23107546 race condition with smf provider and manifest-import 23119445 Upgrade Ruby Hiera to 3.2.0 23547788 Add ILB type to Puppet 23593229 rspec tests need to be written for solaris_providers boot_environment 23593308 rspec tests need to be written for solaris_providers ipmp_interface 23593316 rspec tests need to be written for solaris_providers protocol_properties 23593225 rspec tests need to be written for solaris_providers etherstub 23593319 rspec tests need to be written for solaris_providers vnic 23593310 puppet module rspec tests and validation for nsswitch 24674283 current puppet.stencil implementation restricts some valid puppet use cases 24680838 puppet agent failures should be visible to administrator via SMF interfaces 24681179 puppet's logadm.conf is pointing at wrong location for master, ignoring agent 24696742 puppet svccfg doesn't work for some value types 24696809 Puppet link aggregation modules cascading errors 24825868 Update to Puppet 4, Puppet 3 is EOL 24836004 '-' is valid in pkg mediator implementation 24836209 nis provider needs to support multiple securenets entries 24928890 keystone and horizon modules patches create invalid metadata.json 25022632 puppet ipmp_interface type should not validate interface existence 25022714 Puppet SMF service should not refresh on every apply operation 25225039 puppet svccfg should not declare a property absent if it does not match desired 25060925 puppet resource address_object generates invalid puppet code for dhcp interfaces 25065015 update puppet oracle-solaris_providers 2.0.0 25071521 puppet svccfg type should return a clear error if value is not provided 25071681 puppet dns resource generates invalid manifest 25071686 puppet resource ldap; Error: Could not run: No ability to determine if ldap... 25071690 puppet resource nis; Error: Could not run: No ability to determine if nis exists 25092384 puppet module files should be owned by root 25093408 puppet-solaris should be part of puppet again 25106150 Nis provider is not idempotent 25106155 DNS provider is not idempotent 25163776 puppet link_aggregation misunderstands 'address' -u output 25163791 puppet link_aggregation should use resource values instead of property_hash 25163815 puppet address_object errors and validations could be better 25163840 puppet Puppet::Property::List types conflict with internally generated arrays 25163864 puppet link_aggregation type specs need to be written 25177901 puppet beadm should not use both -e and -p 25178928 puppet link_aggregation should try to copy existing values on change of mode 25179040 puppet link_aggregation should delete with -t for temporary 25192742 puppet svccfg shouldn't try to update properties for a non-existent fmri 25196056 puppet interface and address _properties namevars are problematic 25191982 puppet type 'dns' is not able to set 'options' property in resolv.conf 25211935 puppet link_aggregation needs to permanently delete before modifying temporary 25217063 puppet protocol_properties is not idempotent 25218036 puppet resource svccfg emits a warning for every property 25218053 puppet svccfg prefetch should match individually specified parameters 25218208 puppet svccfg should enforce well-formedness in fmri parameters 25224661 puppet resource address_properties shouldn't output read-only properties 25224777 puppet address_properties should not reset unchanged properties 25306835 puppet boot_environment needs to understand the new snapshot format 25306877 puppet svccfg should check for pg and allow nested property groups 25306904 puppet dns,nis,ldap,protocol_properties prefetch fails after input auto munge 25348321 puppet boot_environment needs to validate all properties and parameters 25354751 puppet vnic provider needs to support / and - as valid vnic name characters
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
97
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     1
#
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     3
#
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     7
#
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    12
#
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    18
#
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4762
diff changeset
    21
97
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    22
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4762
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4762
diff changeset
    24
#
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4762
diff changeset
    25
BUILD_BITS= 64_and_32
97
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    27
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		lua
990
6bfca1239ccb 7197062 Upgrade lua to 5.2.1
Srinivasa Sarva <Srinivasa.Sarva@oracle.com>
parents: 800
diff changeset
    29
COMPONENT_VERSION=	5.2.1
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 181
diff changeset
    30
COMPONENT_PROJECT_URL=	http://www.lua.org/
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
990
6bfca1239ccb 7197062 Upgrade lua to 5.2.1
Srinivasa Sarva <Srinivasa.Sarva@oracle.com>
parents: 800
diff changeset
    32
    sha256:64304da87976133196f9e4c15250b70f444467b6ed80d7cfd7b3b982b5177be5
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 181
diff changeset
    33
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)ftp/$(COMPONENT_ARCHIVE)
990
6bfca1239ccb 7197062 Upgrade lua to 5.2.1
Srinivasa Sarva <Srinivasa.Sarva@oracle.com>
parents: 800
diff changeset
    34
6bfca1239ccb 7197062 Upgrade lua to 5.2.1
Srinivasa Sarva <Srinivasa.Sarva@oracle.com>
parents: 800
diff changeset
    35
LUA_TESTS=		lua-5.2.1-tests
6bfca1239ccb 7197062 Upgrade lua to 5.2.1
Srinivasa Sarva <Srinivasa.Sarva@oracle.com>
parents: 800
diff changeset
    36
COMPONENT_ARCHIVE_1=	$(LUA_TESTS).tar.gz
6bfca1239ccb 7197062 Upgrade lua to 5.2.1
Srinivasa Sarva <Srinivasa.Sarva@oracle.com>
parents: 800
diff changeset
    37
COMPONENT_ARCHIVE_HASH_1= \
6bfca1239ccb 7197062 Upgrade lua to 5.2.1
Srinivasa Sarva <Srinivasa.Sarva@oracle.com>
parents: 800
diff changeset
    38
    sha256:2346d635ee392c8d8024b07beaa10b7b66a3f861c41d575753d03155751cf114
6bfca1239ccb 7197062 Upgrade lua to 5.2.1
Srinivasa Sarva <Srinivasa.Sarva@oracle.com>
parents: 800
diff changeset
    39
COMPONENT_ARCHIVE_URL_1= $(COMPONENT_PROJECT_URL)/tests/5.2/$(COMPONENT_ARCHIVE_1)
6bfca1239ccb 7197062 Upgrade lua to 5.2.1
Srinivasa Sarva <Srinivasa.Sarva@oracle.com>
parents: 800
diff changeset
    40
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1485
diff changeset
    41
TPNO=			5814
990
6bfca1239ccb 7197062 Upgrade lua to 5.2.1
Srinivasa Sarva <Srinivasa.Sarva@oracle.com>
parents: 800
diff changeset
    42
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4762
diff changeset
    43
BUILD_STYLE= justmake
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4762
diff changeset
    44
INSTALL_32_and_64 += $(BUILD_DIR)/lua-64.pc
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4762
diff changeset
    45
SYSTEM_TEST_TARGET= $(SYSTEM_TEST_32_and_64)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4762
diff changeset
    46
include $(WS_MAKE_RULES)/common.mk
97
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    47
990
6bfca1239ccb 7197062 Upgrade lua to 5.2.1
Srinivasa Sarva <Srinivasa.Sarva@oracle.com>
parents: 800
diff changeset
    48
PATCH_LEVEL= 0
6bfca1239ccb 7197062 Upgrade lua to 5.2.1
Srinivasa Sarva <Srinivasa.Sarva@oracle.com>
parents: 800
diff changeset
    49
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4762
diff changeset
    50
# This is because lua uses $(CC) to build its shared libraries.
99
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 97
diff changeset
    51
CC +=		$(CC_BITS)
97
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    52
99
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 97
diff changeset
    53
CFLAGS +=	$(CC_PIC) $(CPP_LARGEFILES)
c15c9099bb44 6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 97
diff changeset
    54
151
f9e42a3f7095 7030982 hgk is delivered 444, breaks 'hg view'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 99
diff changeset
    55
COMPONENT_BUILD_ARGS += CC="$(CC)"
1021
93e0813581a0 7204561 Lua header (lauxlib.h) is broken
Srinivasa Sarva <Srinivasa.Sarva@oracle.com>
parents: 990
diff changeset
    56
COMPONENT_BUILD_ARGS += USRCFLAGS="$(CFLAGS)"
151
f9e42a3f7095 7030982 hgk is delivered 444, breaks 'hg view'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 99
diff changeset
    57
COMPONENT_INSTALL_ARGS += INSTALL=$(INSTALL)
f9e42a3f7095 7030982 hgk is delivered 444, breaks 'hg view'
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 99
diff changeset
    58
COMPONENT_INSTALL_ARGS += INSTALL_TOP=$(PROTOUSRDIR)
5843
9cefd39b551b 23175936 lp64 status regression for some components
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5682
diff changeset
    59
$(INSTALL_32):	COMPONENT_INSTALL_ARGS += INSTALL_BIN=$(PROTOUSRBINDIR)/$(MACH32)
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 151
diff changeset
    60
$(INSTALL_64):	COMPONENT_INSTALL_ARGS += INSTALL_LIB=$(PROTOUSRLIBDIR64)
97
c27cb2d7067c 7020451 Move lua to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    61
1265
d6a57c34a9a2 15824627 SUNBT7206171 Still problems with lua 5.2.1 integration
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
    62
$(BUILD_DIR)/lua-64.pc:		files/lua-64.pc
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4762
diff changeset
    63
	$(GSED) -e "s#MACH64#$(MACH64)#g" < $< > $@
1485
808df10bcc09 17483555 groff, guile and lua should be ASLR enabled
Rich Burridge <rich.burridge@oracle.com>
parents: 1265
diff changeset
    64
2106
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    65
CLEAN_PATHS +=	$(LUA_TESTS)
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    66
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    67
LUA_EXE_32 =	$(BUILD_DIR)/$(MACH32)/src/$(COMPONENT_NAME)
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    68
LUA_EXE_64 =	$(BUILD_DIR)/$(MACH64)/src/$(COMPONENT_NAME)
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    69
LUA_EXE =	$(LUA_EXE_$(BITS))
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    70
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    71
# Unpack and patch the tests once, and work around CR #19661394, which is
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    72
# causing the lua self-tests to fail.
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    73
COMPONENT_PRE_TEST_ACTION = \
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    74
	(if ! test -d $(LUA_TESTS) ; then \
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    75
		$(UNPACK) $(UNPACK_ARGS) $(LUA_TESTS).tar.gz ; \
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    76
		(cd $(LUA_TESTS); $(GPATCH) $(GPATCH_FLAGS) \
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    77
			<$(COMPONENT_DIR)/files/fix-tests.patch) ; \
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    78
	fi)
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    79
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    80
COMPONENT_TEST_DIR =		$(LUA_TESTS)
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    81
COMPONENT_TEST_CMD =		$(LUA_EXE)
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    82
COMPONENT_TEST_ARGS =		-e"_U=true"
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    83
COMPONENT_TEST_TARGETS =	all.lua
adb848b3a7d4 19535379 lua's self tests are a bit of a mess
Rich Burridge <rich.burridge@oracle.com>
parents: 1948
diff changeset
    84
3643
1a4ba329c762 20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2106
diff changeset
    85
# Master test results are the same for both 32-bit and 64-bit, so override
1a4ba329c762 20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2106
diff changeset
    86
# here, rather than create multiple identical master files.
1a4ba329c762 20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2106
diff changeset
    87
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
1a4ba329c762 20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2106
diff changeset
    88
1a4ba329c762 20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2106
diff changeset
    89
# The additional lua specific set of transforms to be applied to the
1a4ba329c762 20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2106
diff changeset
    90
# test results to try to normalize them.
1a4ba329c762 20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2106
diff changeset
    91
COMPONENT_TEST_TRANSFORMS += \
1a4ba329c762 20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2106
diff changeset
    92
	'-e "/---- total memory:/d" ' \
1a4ba329c762 20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2106
diff changeset
    93
	'-e "s|elements in .\... sec|elements in x.xx sec|g" ' \
1a4ba329c762 20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2106
diff changeset
    94
	'-e "s|\(total time:\).*|\1|" ' \
1a4ba329c762 20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2106
diff changeset
    95
	'-e "s|\(test done on\).*|\1|" '
1a4ba329c762 20371999 More Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2106
diff changeset
    96
4762
4d5e4d2893b8 21606619 Yet even more Userland components should hook up their system tests
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    97
# Unpack and patch the tests once, and work around CR #19661394, which is
4d5e4d2893b8 21606619 Yet even more Userland components should hook up their system tests
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    98
# causing the lua self-tests to fail.
4d5e4d2893b8 21606619 Yet even more Userland components should hook up their system tests
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    99
COMPONENT_PRE_SYSTEM_TEST_ACTION = \
4d5e4d2893b8 21606619 Yet even more Userland components should hook up their system tests
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
   100
	(if ! test -d $(LUA_TESTS) ; then \
4d5e4d2893b8 21606619 Yet even more Userland components should hook up their system tests
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
   101
		$(UNPACK) $(UNPACK_ARGS) $(LUA_TESTS).tar.gz ; \
4d5e4d2893b8 21606619 Yet even more Userland components should hook up their system tests
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
   102
		(cd $(LUA_TESTS); $(GPATCH) $(GPATCH_FLAGS) \
4d5e4d2893b8 21606619 Yet even more Userland components should hook up their system tests
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
   103
			<$(COMPONENT_DIR)/files/fix-tests.patch) ; \
4d5e4d2893b8 21606619 Yet even more Userland components should hook up their system tests
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
   104
	fi)
4d5e4d2893b8 21606619 Yet even more Userland components should hook up their system tests
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
   105
4d5e4d2893b8 21606619 Yet even more Userland components should hook up their system tests
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
   106
COMPONENT_SYSTEM_TEST_DIR =	$(LUA_TESTS)
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4762
diff changeset
   107
COMPONENT_SYSTEM_TEST_CMD =	$(USRBINDIR)/lua
4762
4d5e4d2893b8 21606619 Yet even more Userland components should hook up their system tests
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
   108
COMPONENT_SYSTEM_TEST_ARGS =	-e"_U=true"
4d5e4d2893b8 21606619 Yet even more Userland components should hook up their system tests
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
   109
COMPONENT_SYSTEM_TEST_TARGETS =	all.lua
4d5e4d2893b8 21606619 Yet even more Userland components should hook up their system tests
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
   110
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3643
diff changeset
   111
REQUIRED_PACKAGES += system/library/math