![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/self/root/usr/local/lib/node_modules/mediasoup/worker/deps/gyp/test/mac/ |
Upload File : |
#!/usr/bin/env python # Copyright (c) 2011 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 postbuild steps work. """ import TestGyp import sys if sys.platform == 'darwin': test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode']) test.run_gyp('test.gyp', chdir='postbuilds') test.build('test.gyp', test.ALL, chdir='postbuilds') # See comment in test/subdirectory/gyptest-subdir-default.py if test.format == 'xcode': chdir = 'postbuilds/subdirectory' else: chdir = 'postbuilds' # Created by the postbuild scripts test.built_file_must_exist('el.a_touch', type=test.STATIC_LIB, chdir='postbuilds') test.built_file_must_exist('el.a_gyp_touch', type=test.STATIC_LIB, chdir='postbuilds') test.built_file_must_exist('nest_el.a_touch', type=test.STATIC_LIB, chdir=chdir) test.built_file_must_exist( 'dyna.framework/Versions/A/dyna_touch', chdir='postbuilds') test.built_file_must_exist( 'dyna.framework/Versions/A/dyna_gyp_touch', chdir='postbuilds') test.built_file_must_exist( 'nest_dyna.framework/Versions/A/nest_dyna_touch', chdir=chdir) test.built_file_must_exist('dyna_standalone.dylib_gyp_touch', type=test.SHARED_LIB, chdir='postbuilds') test.built_file_must_exist('copied_file.txt', chdir='postbuilds') test.built_file_must_exist('copied_file_2.txt', chdir=chdir) test.pass_test()