2003-07-10 22:29:30 +04:00
|
|
|
#include <stdio.h>
|
2003-07-10 22:48:53 +04:00
|
|
|
#include <string.h>
|
2016-04-28 00:29:43 +03:00
|
|
|
|
2003-07-10 22:29:30 +04:00
|
|
|
#include "OutputFile.h"
|
|
|
|
|
2016-05-16 17:34:04 +03:00
|
|
|
int main(int, char* [])
|
2003-07-10 22:29:30 +04:00
|
|
|
{
|
|
|
|
int res = 0;
|
|
|
|
|
|
|
|
res += CheckMethod(rmvar, "CMake");
|
|
|
|
res += CheckMethod(rmallvar, "CMake;cmake;CMake");
|
|
|
|
res += CheckMethod(rrepvar, "People should use CMake and CMake");
|
2005-10-17 17:10:20 +04:00
|
|
|
res += CheckMethod(repvar, "People should use CMake");
|
2005-10-17 17:56:42 +04:00
|
|
|
res += CheckMethod(substringres, "Everybody should use CMake");
|
2003-07-10 22:29:30 +04:00
|
|
|
res += CheckMethod(nceqvar, "0");
|
2005-10-17 17:56:42 +04:00
|
|
|
res += CheckMethod(lengthres, "26");
|
2003-07-10 22:29:30 +04:00
|
|
|
res += CheckMethod(ceqvar, "1");
|
|
|
|
res += CheckMethod(cneqvar, "1");
|
|
|
|
res += CheckMethod(ncneqvar, "0");
|
|
|
|
res += CheckMethod(nclvar, "0");
|
|
|
|
res += CheckMethod(clvar, "1");
|
|
|
|
res += CheckMethod(cgvar, "1");
|
|
|
|
res += CheckMethod(ncgvar, "0");
|
|
|
|
res += CheckMethod(savar, "Cmake");
|
|
|
|
res += CheckMethod(tuvar, "CMAKE");
|
|
|
|
res += CheckMethod(tlvar, "cmake");
|
2005-10-17 17:10:20 +04:00
|
|
|
res += CheckMethod(relpath, "../../X11R6/bin/xnest");
|
2007-06-07 00:20:02 +04:00
|
|
|
res += CheckMethod(configvar,
|
|
|
|
"@$@$junk =~ s/#$xyz#/$foo_bar{$wibble}->{$xyz}/;@@");
|
2012-08-13 21:42:58 +04:00
|
|
|
|
2003-07-10 22:29:30 +04:00
|
|
|
return res;
|
|
|
|
}
|