Hi Paul and Bernhard,

Thanks so much for your help -- with the greg data available, both tests
are now passed!

Note: you also need to set run_tests=true in addition to downloading the
greg data, untarring it in ~/

I could be mistaken, but it seems that setting COOT_TEST_DATA_DIR doesn't
work and it looks for the greg data in ~/ no matter what (I also noticed
that the variable COOT_TEST_DATA_DIR is not found anywhere in
build-it-gtk2-simple)?

Not a big deal, but it would be nice to be able to implement this all in a
wrapper script that could be run from any directory, for example:

-------------------------------------------build-coot-and-test-it.sh------------------------------------------------------------
#!/bin/bash
  [ ! -f build-it-gtk2-simple ] && wget
http://coot.googlecode.com/svn/trunk/build-it-gtk2-simple
  OS=`uname`
  HOST=`hostname`
  AUTOBUILD_BUILD=`pwd`/autobuild/building
  AUTOBUILD_INSTALL=`pwd`/autobuild/${OS}-${HOST}
  AUTOBUILD_INSTALLED=`pwd`/autobuild/${OS}-${HOST}
  LOGS=`pwd`/build-logs/${OS}-${HOST}
  NIGHTLY_DEST_DIR=`pwd`/binaries/nightlies/pre-release
  STABLE_DEST_DIR=`pwd`/binaries/stable
  [ ! -f greg-data.tar.gz ] && wget
http://lmb.bioch.ox.ac.uk/coot/devel/greg-data.tar.gz
  [ ! -d data ] && tar xfz greg-data.tar.gz
  COOT_TEST_DATA_DIR=`pwd`/data/greg-data
  run_tests=true
  . ./build-it-gtk2-simple python | tee build.log
-------------------------------------------------------------------------------------------------------------------------------------------

Currently, this works but only if executed in ~/

Anyway, thanks again for your help!

Best wishes,
Kip



On Mon, May 13, 2013 at 4:40 AM, Paul Emsley <pems...@mrc-lmb.cam.ac.uk>wrote:

> On 11/05/13 22:00, Kip Guja wrote:
>
>> Hi All,
>>
>> I am trying to build revision 4630 (on Fedora 17 64-bit) from sources
>> using the autobuild script -- coot building seems to pass (and the binary
>> seems to run perfectly fine on my machine) but the logs show that it is
>> failing the first test. I am running Fedora 17 64-bit
>>
>> Any and all advice on how to proceed would be greatly appreciated!
>>
>>
> At a guess, the test data are missing. You can get them from here (for the
> moment):
>
> http://lmb.bioch.ox.ac.uk/**coot/devel/greg-data.tar.gz<http://lmb.bioch.ox.ac.uk/coot/devel/greg-data.tar.gz>
>
> Unextract them into ~/data/greg-data or in a directory defined in the
> environment variable COOT_TEST_DATA_DIR.  Then build your coot.
>
> Paul.
>
>

Reply via email to