mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
767c10a592
Summary: This adds a new C++ UnionDatapackStore implementation that only has the getmissing() function at the moment. Test Plan: Adds a test Reviewers: #mercurial, simonfar Reviewed By: simonfar Subscribers: simonfar, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D4556052 Signature: t1:4556052:1487161607:664752df19c63c06819ee2af5b4c436f1b76609d
22 lines
829 B
Perl
22 lines
829 B
Perl
Get build path for native extensions
|
|
- Do this as a separate script so we can eat the ls errors
|
|
$ cat >> $TESTTMP/getbuildpath.sh <<EOF
|
|
> BUILD_PATH="`ls -d $TESTDIR/`"
|
|
> BUILD_PATH="\$BUILD_PATH:`ls -d $TESTDIR/../build/lib* 2> /dev/null`"
|
|
> BUILD_PATH="\$BUILD_PATH:`ls -d $TESTDIR/../../rpmbuild/BUILD/fb-mercurial-ext-*/build/lib.*/ 2> /dev/null`"
|
|
> echo "\$BUILD_PATH"
|
|
> EOF
|
|
$ chmod a+x $TESTTMP/getbuildpath.sh
|
|
$ BUILD_PATH="`$TESTTMP/getbuildpath.sh`"
|
|
|
|
$ LD_LIBRARY_PATH="$BUILD_PATH"
|
|
$ export LD_LIBRARY_PATH
|
|
$ PYTHONPATH="$BUILD_PATH:$PYTHONPATH"
|
|
$ export PYTHONPATH
|
|
|
|
$ python $TESTDIR/remotefilelog-datapack.py
|
|
$ python $TESTDIR/remotefilelog-histpack.py
|
|
$ python $TESTDIR/cstore-datapackstore.py
|
|
$ python $TESTDIR/cstore-treemanifest.py
|
|
$ python $TESTDIR/cstore-uniondatapackstore.py
|