[Owasp-esapi-c++] Developer Sources/Library Prerequisites

Jeffrey Walton noloader at gmail.com
Tue Aug 2 17:24:04 EDT 2011


Hi All,

Is anyone opposed to a 'dev-prereq' project that tests some of the
developer libraries and sources?

I was thinking something light weight, before full blown self tests.
The prerequisites test would basically verify paths, compilation, and
linkage and not much more.

For example, I'm familiar with SafeInt and Crypto++. So the smoke test might be:

    SafeInt<int> x(1);

    ostringstream ss;

    ss << dec << (int)x;


    const Integer a(ss.str().c_str());
    assert((int)x == a.ConvertToLong());

The above will test the standard c++ library, SafeInt, and Crypto++
without long-winded compilations.

Jeff


More information about the Owasp-esapi-c++ mailing list