commit - 7dfae8a29c3caf385b499e4900bc47f61fa598cd
commit + d3f2ad5edfc8b98f7c83b5197519fe35d3e0f07e
blob - 234e14335c35c5df4eed726311d942e535a03f23
blob + 99173d49290ba9b60f69d539d9e5a4aacd4ae2a4
--- .gitignore
+++ .gitignore
**/Makefile
**/Makefile.in
+**/Makefile.linux
**/obj
*.core
*.o
blob - d17b743095698c4c96b138c38857275fc972486c
blob + 2c07d62a4b3bb7ff78c7c7d2dd96802fbd05ae7b
--- Makefile.am
+++ Makefile.am
AM_CFLAGS += -Wundef -Wbad-function-cast -Winline -Wcast-align
AM_CFLAGS += -Wdeclaration-after-statement -Wno-pointer-sign -Wno-attributes
AM_CFLAGS += -Wno-unused-result
+
+tests:
+ $(MAKE) -C regress/cmdline -f Makefile.linux
blob - 7a3db489f689a2a6b307e64566963b2cbc8bd429
blob + 056822aca740cbc068d31ea69ebe699a6e274b3b
--- README.portable
+++ README.portable
Currently, these dependencies are searched for via pkg-config(1) which must
also be installed.
+TESTS (REGRESS)
+===============
+
+There are tests under regress/ -- these are designed to work on OpenBSD. For
+now, the cmdline/ tests have been prioritised.
+
+To run the test suite:
+
+ $ make tests
+
+NOTE: THIS ONLY WORKS AFTER 'make install' DUE TO HOW PATHS TO LIBEXEC
+ HELPERS ARE HARD-CODED INTO THE BINARIES.
+
INSTALLATION
============
====
This port is incomplete in that only got(1) and tog(1) have been ported.
-gotweb and the test suite (regress) have yet to be ported.
+gotweb has yet to be ported.
configure.ac should start defining AC_ENABLE arguments to allow for
finer-grained control of where to search for includes/libraries, etc.
blob - dfa66e6546f8e4bb28d7cf8aac38f00cc1ed3ac6
blob + cdd6e15964896469690ab60d154424b9e4358b73
--- configure.ac
+++ configure.ac
libexec/got-send-pack/Makefile
got/Makefile
gotadmin/Makefile
- tog/Makefile])
+ tog/Makefile
+ regress/cmdline/Makefile.linux:regress/cmdline/Makefile.am])
AC_OUTPUT
# tog/GNUMakefile])
blob - /dev/null
blob + 7c248ececb528d2f6cc937935497fb9aa6889a99 (mode 644)
--- /dev/null
+++ regress/cmdline/Makefile.am
+REGRESS_TARGETS=checkout update status log add rm diff blame branch tag \
+ ref commit revert cherrypick backout rebase import histedit \
+ integrate stage unstage cat clone fetch tree pack cleanup
+NOOBJ=Yes
+
+GOT_TEST_ROOT=/tmp
+
+all: $(REGRESS_TARGETS)
+
+checkout:
+ ./checkout.sh -q -r "$(GOT_TEST_ROOT)"
+
+update:
+ ./update.sh -q -r "$(GOT_TEST_ROOT)"
+
+status:
+ ./status.sh -q -r "$(GOT_TEST_ROOT)"
+
+log:
+ ./log.sh -q -r "$(GOT_TEST_ROOT)"
+
+add:
+ ./add.sh -q -r "$(GOT_TEST_ROOT)"
+
+rm:
+ ./rm.sh -q -r "$(GOT_TEST_ROOT)"
+
+diff:
+ ./diff.sh -q -r "$(GOT_TEST_ROOT)"
+
+blame:
+ ./blame.sh -q -r "$(GOT_TEST_ROOT)"
+
+branch:
+ ./branch.sh -q -r "$(GOT_TEST_ROOT)"
+
+tag:
+ ./tag.sh -q -r "$(GOT_TEST_ROOT)"
+
+ref:
+ ./ref.sh -q -r "$(GOT_TEST_ROOT)"
+
+commit:
+ ./commit.sh -q -r "$(GOT_TEST_ROOT)"
+
+revert:
+ ./revert.sh -q -r "$(GOT_TEST_ROOT)"
+
+cherrypick:
+ ./cherrypick.sh -q -r "$(GOT_TEST_ROOT)"
+
+backout:
+ ./backout.sh -q -r "$(GOT_TEST_ROOT)"
+
+rebase:
+ ./rebase.sh -q -r "$(GOT_TEST_ROOT)"
+
+import:
+ ./import.sh -q -r "$(GOT_TEST_ROOT)"
+
+histedit:
+ ./histedit.sh -q -r "$(GOT_TEST_ROOT)"
+
+integrate:
+ ./integrate.sh -q -r "$(GOT_TEST_ROOT)"
+
+stage:
+ ./stage.sh -q -r "$(GOT_TEST_ROOT)"
+
+unstage:
+ ./unstage.sh -q -r "$(GOT_TEST_ROOT)"
+
+cat:
+ ./cat.sh -q -r "$(GOT_TEST_ROOT)"
+
+clone:
+ ./clone.sh -q -r "$(GOT_TEST_ROOT)"
+
+fetch:
+ ./fetch.sh -q -r "$(GOT_TEST_ROOT)"
+
+send:
+ ./send.sh -q -r "$(GOT_TEST_ROOT)"
+
+tree:
+ ./tree.sh -q -r "$(GOT_TEST_ROOT)"
+
+pack:
+ ./pack.sh -q -r "$(GOT_TEST_ROOT)"
+
+cleanup:
+ ./cleanup.sh -q -r "$(GOT_TEST_ROOT)"