-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathruntests
executable file
·24 lines (18 loc) · 929 Bytes
/
runtests
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/bash
# Run tests for formats of interest. Must list all formats of interest;
# there is no option to omit formats from --all.
# Search for format_list in gyptest.py to see the list of formats.
# Currently the list is make, msvs, ninja and xcode.
# Note that test/lib/TestGyp.py makes sure it uses the gyp command
# in this directory not the installed gyp so no need for something
# like export PYTHONPATH=.:$PYTHONPATH.
# These tests fail in both upstream_master and xcode_changes.
# NOTE: test/ios/gyptest-extension.py requires an iOS code-signing identity,
# so it fails, if you don't have one.
#./gyptest.py -f "xcode" \
# test/copies/gyptest-updir.py \
# test/ios/gyptest-xcode-ninja.py \
# test/mac/gyptest-ldflags-passed-to-libtool.py \
# test/mac/gyptest-swift-library.py
# ./gyptest.py -f "msvs,make" -a # Must be run on Windows
./gyptest.py -f "xcode,make" -a # Must be run on OS X.