mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 14:58:03 +03:00
getdeps: add a test target to eden_scm getdeps manifest
Summary: Add a test target to the eden_scm getdeps manifest and underlying Makefile Reviewed By: markbt Differential Revision: D27336805 fbshipit-source-id: 07ec4be1ff03c6a384451ce138d88938dd4bf86e
This commit is contained in:
parent
810192fad4
commit
babbc4c487
@ -24,6 +24,9 @@ getdepsbuild
|
||||
[make.install_args]
|
||||
install-getdeps
|
||||
|
||||
[make.test_args]
|
||||
test-getdeps
|
||||
|
||||
[shipit.pathmap]
|
||||
fbcode/eden/oss = .
|
||||
fbcode/eden = eden
|
||||
|
@ -137,7 +137,12 @@ install-home: build
|
||||
$(PYTHON) setup.py $(PURE) install --home="$(HOME)" --prefix="" --force
|
||||
|
||||
install-getdeps: getdepsbuild
|
||||
GETDEPS_BUILD=1 $(PYTHON3) setup3.py $(PURE) install --root="$(DESTDIR)/" --prefix="$(PREFIX)" --force
|
||||
GETDEPS_BUILD=1 $(PYTHON3) setup3.py $(PURE) install --root="$(DESTDIR)/" --prefix="$(PREFIX)" --install-lib="$(PREFIX)/bin" --force
|
||||
|
||||
test-getdeps: install-getdeps
|
||||
# Run one test to check the binary is minimally good as will be used later in Mononoke getdeps tests
|
||||
# Running all the tests requires a bit of filtering to run the good set (or deleting flaky ones)
|
||||
cd tests && $(PYTHON3) run-tests.py -j1 --with-hg="$(PREFIX)/bin/$(HGNAME)" test-status.t
|
||||
|
||||
check: tests
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user