Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Have a single top-level main for running unit-tests | EuAndreh | 2021-08-22 | 2 | -5/+4 |
| | | | | | | | | | | | | | | | | | | | Instead of each .c file becoming a self-standing .t executable file, and being run for executing the unit tests local to the file, now each .c becomes a .to object (akin to a .o object, but one where the -DTEST flag is given to the compiler). After that, all the .to objects are linked together in a gistatic-tests executable, in a equivalent way that all .o files get linked together in a gistatic executable. This change was necessary in order to allow dependencies between objects. The next task will be making a tar of a repository tree checkout, and src/gistatic.{o,to} will start depending on src/tar.{o,to}. If each file has its own main function when -DTEST is given, then I wont be able to link them together. I took the opportunity that I had to change the Makefile, and I improved the dependency between targets and dependencies greatly. From what I can tell now, it is correct. | ||||
* | src/gistatic.c: Remove .logo bogus color attribute | EuAndreh | 2021-08-22 | 2 | -8/+0 |
| | |||||
* | src/gistatic.c: Suppress "Download" and "Commit message" columns from tags ↵ | EuAndreh | 2021-08-22 | 1 | -6/+0 |
| | | | | table in refs.html | ||||
* | tests/build-sample.sh: Also build $PWD | EuAndreh | 2021-08-21 | 1 | -1/+1 |
| | |||||
* | src/tests-lib.c: Move testing helper function and share it with other files | EuAndreh | 2021-08-21 | 2 | -2/+0 |
| | |||||
* | src/gistatic.c: Add dark mode CSS media query | EuAndreh | 2021-08-20 | 2 | -10/+78 |
| | |||||
* | tests/c-lint.sh: Add more strict linting rules | EuAndreh | 2021-08-19 | 1 | -0/+22 |
| | |||||
* | tests/build-sample.sh: Add, to be included in the "check" target | EuAndreh | 2021-08-19 | 1 | -0/+9 |
| | |||||
* | tests/assert-catgets.sh: Mark as executable | EuAndreh | 2021-08-19 | 1 | -0/+0 |
| | |||||
* | tests/: Move refs.html to sub-directory | EuAndreh | 2021-08-17 | 4 | -3/+136 |
| | |||||
* | src/gistatic.c: Add <meta name="description" .../> to HTML <head> | EuAndreh | 2021-08-17 | 2 | -2/+4 |
| | |||||
* | src/gistatic.c: Split alt messages of index and repository pages | EuAndreh | 2021-08-17 | 1 | -1/+3 |
| | |||||
* | src/gistatic.c: Keep default <a> underline look | EuAndreh | 2021-08-17 | 1 | -5/+0 |
| | | | | | This is more accessible, as the links have the extra visual queue that they're links. | ||||
* | aux/, tests/lib.sh: Update | EuAndreh | 2021-08-17 | 1 | -7/+8 |
| | |||||
* | Add stub src/tar.c | EuAndreh | 2021-08-07 | 1 | -0/+1 |
| | |||||
* | tests/dev-integration.sh: Use a single "disable" declaration | EuAndreh | 2021-08-06 | 1 | -5/+1 |
| | |||||
* | mv aux/assert-catgets.sh tests/assert-catgets.sh | EuAndreh | 2021-08-06 | 1 | -0/+67 |
| | |||||
* | tests/dev-integration.sh: Address ShellCheck offenses | EuAndreh | 2021-08-06 | 1 | -2/+9 |
| | |||||
* | src/gistatic.c: Trim trailing newline of description files | EuAndreh | 2021-08-05 | 2 | -2/+0 |
| | |||||
* | tests/: Add integration tests, also test with Valgrind | EuAndreh | 2021-08-05 | 7 | -0/+548 |
| | |||||
* | Move tests/resources{ => /repositories}/repo* | EuAndreh | 2021-08-05 | 63 | -0/+0 |
| | |||||
* | tests/resources/*: Embed Git repositories directly | EuAndreh | 2021-08-04 | 63 | -0/+2940 |
| | | | | Implements #question-5414aee2-031a-5759-2a22-d572ee899ac0. | ||||
* | Remove submodules | EuAndreh | 2021-08-04 | 2 | -0/+0 |
| | |||||
* | tests/submodules/: Add submodule repositories for unit and (future) ↵ | EuAndreh | 2021-07-31 | 2 | -0/+0 |
| | | | | integration tests | ||||
* | Remove tests/cli-opts.sh | EuAndreh | 2021-05-31 | 1 | -0/+0 |
| | |||||
* | Add empty tests/cli-opts.sh | EuAndreh | 2021-03-06 | 1 | -0/+0 |