https://github.com/teuben/nemo
Revision d0f673bdaeabe8dffa77528c13d81063a20d29f6 authored by Peter Teuben on 03 April 2024, 01:39:10 UTC, committed by Peter Teuben on 03 April 2024, 01:39:10 UTC
1 parent 0615225
Raw File
Tip revision: d0f673bdaeabe8dffa77528c13d81063a20d29f6 authored by Peter Teuben on 03 April 2024, 01:39:10 UTC
format
Tip revision: d0f673b
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