~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to erts/emulator/test/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
2
# %CopyrightBegin%
3
 
4
 
# Copyright Ericsson AB 1997-2009. All Rights Reserved.
5
 
 
3
#
 
4
# Copyright Ericsson AB 1997-2011. All Rights Reserved.
 
5
#
6
6
# The contents of this file are subject to the Erlang Public License,
7
7
# Version 1.1, (the "License"); you may not use this file except in
8
8
# compliance with the License. You should have received a copy of the
9
9
# Erlang Public License along with this software. If not, it can be
10
10
# retrieved online at http://www.erlang.org/.
11
 
 
11
#
12
12
# Software distributed under the License is distributed on an "AS IS"
13
13
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
14
# the License for the specific language governing rights and limitations
15
15
# under the License.
16
 
 
16
#
17
17
# %CopyrightEnd%
18
18
#
19
19
 
61
61
        exception_SUITE \
62
62
        float_SUITE \
63
63
        fun_SUITE \
64
 
        fun_r11_SUITE \
 
64
        fun_r12_SUITE \
65
65
        gc_SUITE \
66
66
        guard_SUITE \
67
67
        hash_SUITE \
75
75
        node_container_SUITE \
76
76
        nofrag_SUITE \
77
77
        num_bif_SUITE \
78
 
        obsolete_SUITE \
79
78
        op_SUITE \
80
79
        port_SUITE \
81
80
        port_bif_SUITE \
82
81
        process_SUITE \
83
82
        pseudoknot_SUITE \
 
83
        receive_SUITE \
84
84
        ref_SUITE \
85
85
        register_SUITE \
 
86
        mtx_SUITE \
86
87
        save_calls_SUITE \
87
88
        send_term_SUITE \
88
89
        sensitive_SUITE \
100
101
        trace_local_SUITE \
101
102
        trace_meta_SUITE \
102
103
        trace_call_count_SUITE \
 
104
        trace_call_time_SUITE \
103
105
        scheduler_SUITE \
104
106
        old_scheduler_SUITE \
105
107
        z_SUITE \
117
119
        bs_match_int \
118
120
        bs_match_tail \
119
121
        bs_match_misc \
120
 
        bs_utf
 
122
        bs_utf \
 
123
        guard
121
124
 
 
125
NATIVE= hibernate
122
126
 
123
127
NO_OPT_MODULES= $(NO_OPT:%=%_no_opt_SUITE)
124
128
NO_OPT_ERL_FILES= $(NO_OPT_MODULES:%=%.erl)
125
129
 
 
130
NATIVE_MODULES= $(NATIVE:%=%_native_SUITE)
 
131
NATIVE_ERL_FILES= $(NATIVE_MODULES:%=%.erl)
 
132
 
126
133
ERL_FILES= $(MODULES:%=%.erl)
127
134
 
128
135
TARGET_FILES = $(MODULES:%=$(EBIN)/%.$(EMULATOR))
148
155
# Targets
149
156
# ----------------------------------------------------
150
157
 
151
 
make_emakefile: $(NO_OPT_ERL_FILES)
 
158
make_emakefile: $(NO_OPT_ERL_FILES) $(NATIVE_ERL_FILES)
152
159
        # This special rule can be removed when communication with R7B nodes 
153
160
        # is no longer supported.
154
161
        $(ERL_TOP)/make/make_emakefile $(ERL_COMPILE_FLAGS) +compressed -o$(EBIN) \
157
164
        $(MODULES) >> $(EMAKEFILE)
158
165
        $(ERL_TOP)/make/make_emakefile +no_copt +no_postopt $(ERL_COMPILE_FLAGS) \
159
166
        -o$(EBIN) $(NO_OPT_MODULES) >> $(EMAKEFILE)
 
167
        $(ERL_TOP)/make/make_emakefile +native $(ERL_COMPILE_FLAGS) \
 
168
        -o$(EBIN) $(NATIVE_MODULES) >> $(EMAKEFILE)
160
169
 
161
170
tests debug opt: make_emakefile
162
171
        erl $(ERL_MAKE_FLAGS) -make
175
184
%_no_opt_SUITE.erl: %_SUITE.erl
176
185
        sed -e 's;-module($(basename $<));-module($(basename $@));' $< > $@
177
186
 
 
187
%_native_SUITE.erl: %_SUITE.erl
 
188
        sed -e 's;-module($(basename $<));-module($(basename $@));' $< > $@
 
189
 
178
190
# ----------------------------------------------------
179
191
# Release Target
180
192
# ---------------------------------------------------- 
187
199
        $(INSTALL_DATA) $(EMAKEFILE) $(TEST_SPEC_FILES) \
188
200
                $(ERL_FILES) $(RELSYSDIR)
189
201
        $(INSTALL_DATA) $(NO_OPT_ERL_FILES) $(RELSYSDIR)
 
202
        $(INSTALL_DATA) $(NATIVE_ERL_FILES) $(RELSYSDIR)
190
203
        chmod -f -R u+w $(RELSYSDIR)
191
204
        tar cf - *_SUITE_data | (cd $(RELSYSDIR); tar xf -)
192
205