tests/test-version-install.t
branchstable
changeset 4875 164543ac3277
child 4876 1a47cc2728ff
equal deleted inserted replaced
4874:ab0d09c93532 4875:164543ac3277
       
     1   $ cat >> $HGRCPATH <<EOF
       
     2   > [extensions]
       
     3   > EOF
       
     4   $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
       
     5 
       
     6 Test outputting version number
       
     7 
       
     8   $ hg version -v
       
     9   Mercurial Distributed SCM (version *) (glob)
       
    10   (see https://mercurial-scm.org for more information)
       
    11   
       
    12   Copyright (C) 2005-* Matt Mackall and others (glob)
       
    13   This is free software; see the source for copying conditions. There is NO
       
    14   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
       
    15   
       
    16   Enabled extensions:
       
    17   
       
    18     evolve  external  * (glob)
       
    19 
       
    20 Test install
       
    21 BROKEN: can't call setup.py from a different dir
       
    22   $ "$PYTHON" "$TESTDIR/../setup.py" install --root "$TESTTMP/installtest" > /dev/null
       
    23   Traceback (most recent call last):
       
    24     File "*/../setup.py", line *, in <module> (glob)
       
    25       long_description=open('README').read(),
       
    26   IOError: [Errno 2] No such file or directory: 'README' (no-py3 !)
       
    27   FileNotFoundError: [Errno 2] No such file or directory: 'README' (py3 !)
       
    28   [1]