Delete stacktrace.log when starting test

parent 54228188
......@@ -3,6 +3,7 @@
#ifndef TESTS_MAIN
#define TESTS_MAIN
#include <iostream>
#include <stdio.h>
<#list viewModel.includes as i>
#include "${i}"
......@@ -10,6 +11,7 @@
int main(){
std::cout << "=================Start stream testing=================" << std::endl;
remove("stacktrace.log");
int errorCode = 0;
<#list viewModel.includes as i>
errorCode += ${i?replace(".hpp","")}::runTest();
......
......@@ -2,11 +2,13 @@
#ifndef TESTS_MAIN
#define TESTS_MAIN
#include <iostream>
#include <stdio.h>
#include "test_basicPortsMath_test.hpp"
int main(){
std::cout << "=================Start stream testing=================" << std::endl;
remove("stacktrace.log");
int errorCode = 0;
errorCode += test_basicPortsMath_test::runTest();
std::cout << "==================End stream testing==================" << std::endl;
......
......@@ -2,11 +2,13 @@
#ifndef TESTS_MAIN
#define TESTS_MAIN
#include <iostream>
#include <stdio.h>
#include "test_math_floatDivisionTest_test.hpp"
int main(){
std::cout << "=================Start stream testing=================" << std::endl;
remove("stacktrace.log");
int errorCode = 0;
errorCode += test_math_floatDivisionTest_test::runTest();
std::cout << "==================End stream testing==================" << std::endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment