Skip to content

Commit bb7a04b

Browse files
chadaustinfacebook-github-bot
authored andcommitted
add scripts for installing system dependencies and running tests
Summary: It's convenient to use the Watchman Vagrant VMs to investigate test failures and builds that otherwise can't be reproduced locally. To make that even easier, add a script for installing system package dependencies (so autogen.sh is fast) and a script for running the test suite. Reviewed By: genevievehelsel Differential Revision: D36534190 fbshipit-source-id: 935416fc11db8454f5a715bd74d457424ddfec21
1 parent e05602a commit bb7a04b

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

autogen.sh

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# This source code is licensed under the MIT license found in the
66
# LICENSE file in the root directory of this source tree.
77

8+
cd "$(dirname "$0")"
9+
810
set -x
911
PREFIX=${PREFIX:-/usr/local}
1012
python3 build/fbcode_builder/getdeps.py build \

install-system-packages.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash -e
2+
# vim:ts=2:sw=2:et:
3+
# Copyright (c) Meta Platforms, Inc. and affiliates.
4+
#
5+
# This source code is licensed under the MIT license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
8+
set -x
9+
python3 "$(dirname "$0")/build/fbcode_builder/getdeps.py" install-system-deps --recursive watchman

run-tests.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash -e
2+
# vim:ts=2:sw=2:et:
3+
# Copyright (c) Meta Platforms, Inc. and affiliates.
4+
#
5+
# This source code is licensed under the MIT license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
8+
set -x
9+
python3 "$(dirname "$0")/build/fbcode_builder/getdeps.py" test --allow-system-packages --no-testpilot watchman

0 commit comments

Comments
 (0)