mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-03 22:07:30 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
|
|
@ -0,0 +1,30 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# Copyright (c) 2012 Google Inc. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
"""
|
||||
Verifies that files generated by two-steps-removed actions are built before
|
||||
dependent compile steps.
|
||||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
import TestGyp
|
||||
|
||||
# This test is Ninja-specific in that:
|
||||
# - the bug only showed nondeterministically in parallel builds;
|
||||
# - it relies on a ninja-specific output file path.
|
||||
|
||||
test = TestGyp.TestGyp(formats=['ninja'])
|
||||
# xcode-ninja doesn't support building single object files by design.
|
||||
if test.format == 'xcode-ninja':
|
||||
test.skip_test()
|
||||
|
||||
test.run_gyp('chained-dependency.gyp')
|
||||
objext = '.obj' if sys.platform == 'win32' else '.o'
|
||||
test.build('chained-dependency.gyp',
|
||||
os.path.join('obj', 'chained.chained' + objext))
|
||||
# The test passes if the .o file builds successfully.
|
||||
test.pass_test()
|
||||
Loading…
Add table
Add a link
Reference in a new issue