On 30 Aug 2021, at 9:59 AM, Jakob Clausen <kaizer...@gmail.com> wrote:Hi.I am running a test in CppUTest.I am using an overloaded operator, that looks like this.void String::operator=(const std::string& s1){std::string value = s1;data = value;}The test program terminates after the first string copy with the message:make[3]: *** [CMakeFiles/TFTypes_testrunner.dir/build.make:310: TFTypes_testrunner] Killed
make[3]: *** Deleting file 'TFTypes_testrunner'What does that mean? Killed?--
You received this message because you are subscribed to the Google Groups "cpputest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cpputest+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cpputest/e914eeaa-5d71-472b-b743-ad8329a408a4n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cpputest/5BFB5102-87D4-450E-BA3B-391B0D455E59%40odd-e.com.
Hi Jakob
What type is data?
Can you show more?
Whittle it down to a class and test.
Cheers, James
wingman-sw.com blog.wingman-sw.com @jwgrenning facebook.com/wingman.sw |