https://github.com/teuben/nemo
Raw File
Tip revision: 4a5f3c599859eaeb62af18a318226e56205a19ef authored by Peter Teuben on 28 January 2021, 04:13:52 UTC
add latest bench
Tip revision: 4a5f3c5
testbed.c
/*
 *
 *  You can include this in subroutines that have no associated
 *  TESTBED section, but would need one for automatic TESTBED's
 *  as e.g. in the GNU makefiles
 *
 *  #include <testbed.c>
 *
 *  5-nov-93    Created                 peter teuben
 *
 */
 
#ifdef TESTBED

#include <nemo.h>

string defv[] = {
    "message=\n     Hello World!",
    "VERSION=1.0\n  5-nov-93",
    NULL,
};

string usage="blank TESTBED for autocompilers";

nemo_main()
{
    if (hasvalue("message")) printf("%s\n",getparam("message"));
    warning("Only blank TESTBED from $NEMOINC available");
}
#endif
back to top