<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/tests/setup.sh, branch v1.2.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>https://git.zx2c4.com/cgit/atom/tests/setup.sh?h=v1.2.2</id>
<link rel='self' href='https://git.zx2c4.com/cgit/atom/tests/setup.sh?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/'/>
<updated>2014-01-20T12:11:10Z</updated>
<entry>
<title>tests: only do lua tests if lua is compiled-in</title>
<updated>2014-01-20T12:11:10Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-20T12:11:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=f759cc0f08c195940de05d5394f7b1ad4d44365e'/>
<id>urn:sha1:f759cc0f08c195940de05d5394f7b1ad4d44365e</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>t0111: Additions and fixes</title>
<updated>2014-01-15T23:53:18Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2014-01-15T22:11:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=3741254a6989b2837cd8d20480f152f0096bcb9a'/>
<id>urn:sha1:3741254a6989b2837cd8d20480f152f0096bcb9a</id>
<content type='text'>
* Rename the capitalize-* filters to dump.* since they also dump the
  arguments.

* Add full argument validation to the email filters.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>t0111: Add basic tests for Lua filters</title>
<updated>2014-01-15T13:45:21Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2014-01-14T21:25:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=caf557a2ba666ad87a1ebd5b40750feaf1bd631f'/>
<id>urn:sha1:caf557a2ba666ad87a1ebd5b40750feaf1bd631f</id>
<content type='text'>
* Validate the email filter by manipulating stdin. Additional checks for
  all the arguments can be added in a later patch.

* Add the exec prefix to all informational messages.

* Rename the filter repository to filter-exec. The Git repository itself
  is not renamed since it can be shared amongst all filter types.

* In the filter checks, check whether all arguments are passed properly
  instead of validating the buffer/stdin only.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>tests/: Add t0111-filter.sh</title>
<updated>2014-01-14T12:55:53Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2014-01-14T11:01:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=ce56d89a2662549acd178292450798f5ffcd4bc6'/>
<id>urn:sha1:ce56d89a2662549acd178292450798f5ffcd4bc6</id>
<content type='text'>
This adds basic tests for all types of exec filters.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>tests: add Valgrind support</title>
<updated>2014-01-12T18:33:03Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-04-08T19:12:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=1b1974c45e5e23e5527aa43c4d9ece423a13dfdc'/>
<id>urn:sha1:1b1974c45e5e23e5527aa43c4d9ece423a13dfdc</id>
<content type='text'>
Now running tests with the "--valgrind" option will run cgit under
Valgrind instead of all Git commands.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>tests: introduce strip_header() helper function</title>
<updated>2013-05-22T10:53:06Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-05-18T17:46:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=75bfec6448b44e26c06736253f8ab0197a6652f7'/>
<id>urn:sha1:75bfec6448b44e26c06736253f8ab0197a6652f7</id>
<content type='text'>
This means that we can avoid hardcoding the number of headers we expect
CGit to generate in test cases and simply remove whatever headers happen
to by there when we are checking body content.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>tests: set TEST_OUTPUT_DIRECTORY to the CGit test directory</title>
<updated>2013-04-15T14:59:37Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-04-14T16:59:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=31f56fc1ecfe7e5131cf31a30a74dcc0803d32d0'/>
<id>urn:sha1:31f56fc1ecfe7e5131cf31a30a74dcc0803d32d0</id>
<content type='text'>
By default, Git's test suite puts the trash directories and test-results
directory into its own directory, not that containing the tests being
run.  This is less convenient for inspecting test failures, so set the
output directory to CGit's tests/ directory instead.

Note that there is currently a bug in Git whereby it will create the
trash directories in our tests/ directory regardless of the value of
TEST_OUTPUT_DIRECTORY, and then fail to remove them once the tests are
done.  This change does currently affect the location of the
test-results/ directory though.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>tests: use Git's test framework</title>
<updated>2013-04-08T20:27:11Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-04-01T14:09:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=c95cc5ec56dbb7394015eb18201403be6d80f69b'/>
<id>urn:sha1:c95cc5ec56dbb7394015eb18201403be6d80f69b</id>
<content type='text'>
This allows tests to run in parallel as well as letting us use "prove"
or another TAP harness to run the tests.

Git's test framework requires Git to be fully built before letting any
tests run, so add a new target to the top-level Makefile which builds
all of Git instead of just libgit.a and make the "test" target depend on
that.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Merge branch 'stable'</title>
<updated>2012-03-18T20:23:30Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2012-03-18T20:23:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=08352c7a02f057f6cbaf817ca7e53c53be590a62'/>
<id>urn:sha1:08352c7a02f057f6cbaf817ca7e53c53be590a62</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: properly quote arguments to printf</title>
<updated>2012-03-18T10:54:50Z</updated>
<author>
<name>Ferry Huberts</name>
<email>ferry.huberts@pelagic.nl</email>
</author>
<published>2012-03-18T10:43:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=561959cffa3de67986d193469b77c8db0d307400'/>
<id>urn:sha1:561959cffa3de67986d193469b77c8db0d307400</id>
<content type='text'>
v2: incorporate remarks of Lukas

Signed-off-by: Ferry Huberts &lt;ferry.huberts@pelagic.nl&gt;
</content>
</entry>
</feed>
