libtld: /home/snapwebsites/snapcpp/contrib/libtld/tests/tld_test_versions.c File Reference

libtld  1.5.13
A library to determine the Top-Level Domain name of any URL.
tld_test_versions.c File Reference

Test the tld library versions. More...

#include "libtld/tld.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
Include dependency graph for tld_test_versions.c:

Go to the source code of this file.


void check_changelog (const char *path, const char *version)
void check_libtld_only_cmakefiles_txt (const char *path, const char *version)
void check_version_compiled_with (const char *version)
int main (int argc, char *argv[])


int err_count = 0
int verbose = 0

Detailed Description

This file implements various test to verify that the version is properly defined in all the files as expected.

In the compiled data, the version gets copied using the configure_file() from cmake. Other files, such as the changelog, require manual labor and thus the version could end up being wrong (humans are notorious to forget stuff like that).

Definition in file tld_test_versions.c.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.

Syndicate content

Snap! Websites
An Open Source CMS System in C++

Contact Us Directly