| 1 | [[PageOutline]] |
| 2 | |
| 3 | = Git = |
| 4 | * [http://git-scm.com/ Git - Fast Version Control System] |
| 5 | |
| 6 | == build on MacOS X == |
| 7 | * Darwin 10.4.0 |
| 8 | * no root privilege |
| 9 | |
| 10 | * gcc -v |
| 11 | {{{ |
| 12 | Target: i686-apple-darwin10 |
| 13 | Configured with: /var/tmp/gcc/gcc-5664~38/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 |
| 14 | Thread model: posix |
| 15 | gcc version 4.2.1 (Apple Inc. build 5664) |
| 16 | }}} |
| 17 | |
| 18 | === source === |
| 19 | * wget http://kernel.org/pub/software/scm/git/git-1.7.3.1.tar.bz2 |
| 20 | |
| 21 | === build === |
| 22 | * tar xzf git-1.7.3.1.tar.bz2 |
| 23 | * cd git-1.7.3.1 |
| 24 | * make configure |
| 25 | * ./configure --prefix=$HOME/local/$OSTYPE |
| 26 | * make |
| 27 | * make install |
| 28 | |
| 29 | === make test === |
| 30 | * make test |
| 31 | {{{ |
| 32 | (snip) |
| 33 | |
| 34 | ok 1 - set up test repository |
| 35 | # run 2: Perl API (/usr/bin/perl /private/tmp/git/git-1.7.3.1/t/t9700/test.pl) |
| 36 | ok 2 - use Git; |
| 37 | ok 3 - open repository |
| 38 | ok 4 - config scalar: string |
| 39 | ok 5 - config array: string |
| 40 | ok 6 - config scalar: nonexistent |
| 41 | ok 7 - config array: nonexistent |
| 42 | ok 8 - config_int: integer |
| 43 | ok 9 - config_int: nonexistent |
| 44 | ok 10 - config_bool: true |
| 45 | ok 11 - config_bool: false |
| 46 | ok 12 - get_color |
| 47 | ok 13 - config: duplicate entry in scalar context fails |
| 48 | ok 14 - config_bool: non-boolean values fail |
| 49 | ok 15 - ident scalar: author (type) |
| 50 | ok 16 - ident scalar: committer (type) |
| 51 | ok 17 - ident scalar: invalid ident string (no parsing) |
| 52 | ok 18 - ident array: author |
| 53 | ok 19 - ident array: author |
| 54 | ok 20 - ident array: ident string |
| 55 | ok 21 - ident array: invalid ident string |
| 56 | ok 22 - ident_person: author (type) |
| 57 | ok 23 - ident_person: ident string |
| 58 | ok 24 - ident_person: array |
| 59 | ok 25 - (get file hash) |
| 60 | ok 26 - cat_blob: size |
| 61 | ok 27 - cat_blob: data |
| 62 | ok 28 - hash_object: roundtrip |
| 63 | ok 29 - hash_and_insert_object: returns hash |
| 64 | ok 30 - cat_blob: roundtrip size |
| 65 | ok 31 - cat_blob: roundtrip data |
| 66 | ok 32 - repo_path |
| 67 | ok 33 - wc_path |
| 68 | ok 34 - wc_subdir initial |
| 69 | ok 35 - wc_subdir after wc_chdir |
| 70 | ok 36 - config after wc_chdir |
| 71 | ok 37 - repo_path (2) |
| 72 | ok 38 - wc_path (2) |
| 73 | ok 39 - wc_subdir initial (2) |
| 74 | ok 40 - rev-parse returned hash |
| 75 | ok 41 - log . does not show last commit |
| 76 | 1..41 |
| 77 | # test_external test Perl API was ok |
| 78 | # test_external_without_stderr test no stderr: Perl API was ok |
| 79 | make aggregate-results |
| 80 | for f in test-results/t*-*.counts; do \ |
| 81 | echo "$f"; \ |
| 82 | done | '/bin/sh' ./aggregate-results.sh |
| 83 | fixed 2 |
| 84 | success 6585 |
| 85 | failed 0 |
| 86 | broken 33 |
| 87 | total 6681 |
| 88 | make clean |
| 89 | rm -f -r 'trash directory'.* test-results |
| 90 | rm -f -r valgrind/bin |
| 91 | rm -f .prove |
| 92 | }}} |