Bug 1043351 - Build ShowSSEConfig as a C++ unit test after it was forgotten in bug 894941 and move linker tests to avoid conflicts. r=mshal

--HG--
rename : mozglue/tests/Makefile.in => mozglue/linker/tests/Makefile.in
rename : mozglue/tests/TestZip.cpp => mozglue/linker/tests/TestZip.cpp
rename : mozglue/tests/moz.build => mozglue/linker/tests/moz.build
rename : mozglue/tests/no_central_dir.zip => mozglue/linker/tests/no_central_dir.zip
rename : mozglue/tests/test.zip => mozglue/linker/tests/test.zip
This commit is contained in:
Mike Hommey 2014-07-25 07:14:21 +09:00
parent 1b6283507b
commit 0b4c32ffd7
8 changed files with 30 additions and 15 deletions

View File

@ -26,3 +26,5 @@ FINAL_LIBRARY = 'mozglue'
DEFINES['IMPL_MFBT'] = True
DISABLE_STL_WRAPPING = True
TEST_TOOL_DIRS += ['tests']

View File

@ -0,0 +1,19 @@
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
NO_DIST_INSTALL = True
SOURCES += [
'TestZip.cpp',
]
SIMPLE_PROGRAMS += [
'TestZip',
]
LOCAL_INCLUDES += ['..']
USE_LIBS += [
'linker',
]
DISABLE_STL_WRAPPING = True

View File

@ -12,4 +12,4 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
DIRS += ['build']
TEST_DIRS += ['tests']
TEST_TOOL_DIRS += ['tests']

View File

@ -4,18 +4,12 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
NO_DIST_INSTALL = True
DISABLE_STL_WRAPPING = True
if CONFIG['MOZ_LINKER']:
SOURCES += [
'ShowSSEConfig.cpp',
'TestZip.cpp',
]
SIMPLE_PROGRAMS += [
'TestZip',
]
LOCAL_INCLUDES += ['../linker']
USE_LIBS += [
'linker',
]
DISABLE_STL_WRAPPING = True
SOURCES += [
'ShowSSEConfig.cpp',
]
CPP_UNIT_TESTS += [
'ShowSSEConfig',
]