mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.autotest (testing)
git-svn-id: svn://ultimatepp.org/upp/trunk@7115 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7db1a85130
commit
cb0d4430dd
13 changed files with 107 additions and 0 deletions
8
autotest/Long/Long.cpp
Normal file
8
autotest/Long/Long.cpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include <Core/Core.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
Sleep(20000);
|
||||
}
|
||||
11
autotest/Long/Long.upp
Normal file
11
autotest/Long/Long.upp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
description "This takes 20 second, which would result in timeout, if not ##WAIT: 1\377";
|
||||
|
||||
uses
|
||||
Core;
|
||||
|
||||
file
|
||||
Long.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "SSE2";
|
||||
|
||||
4
autotest/Long/init
Normal file
4
autotest/Long/init
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef _Long_icpp_init_stub
|
||||
#define _Long_icpp_init_stub
|
||||
#include "Core/init"
|
||||
#endif
|
||||
8
autotest/error/error.cpp
Normal file
8
autotest/error/error.cpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include <Core/Core.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
this is error;
|
||||
}
|
||||
9
autotest/error/error.upp
Normal file
9
autotest/error/error.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
Core;
|
||||
|
||||
file
|
||||
error.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "SSE2";
|
||||
|
||||
8
autotest/fail_assert/fail_assert.cpp
Normal file
8
autotest/fail_assert/fail_assert.cpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include <Core/Core.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
ASSERT(0);
|
||||
}
|
||||
9
autotest/fail_assert/fail_assert.upp
Normal file
9
autotest/fail_assert/fail_assert.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
Core;
|
||||
|
||||
file
|
||||
fail_assert.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "SSE2";
|
||||
|
||||
8
autotest/fail_crash/fail_crash.cpp
Normal file
8
autotest/fail_crash/fail_crash.cpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include <Core/Core.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
__BREAK__;
|
||||
}
|
||||
9
autotest/fail_crash/fail_crash.upp
Normal file
9
autotest/fail_crash/fail_crash.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
Core;
|
||||
|
||||
file
|
||||
fail_crash.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "SSE2";
|
||||
|
||||
7
autotest/ok/ok.cpp
Normal file
7
autotest/ok/ok.cpp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#include <Core/Core.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
}
|
||||
9
autotest/ok/ok.upp
Normal file
9
autotest/ok/ok.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
Core;
|
||||
|
||||
file
|
||||
ok.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "SSE2";
|
||||
|
||||
8
autotest/timeout/timeout.cpp
Normal file
8
autotest/timeout/timeout.cpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include <Core/Core.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
for(;;) {}
|
||||
}
|
||||
9
autotest/timeout/timeout.upp
Normal file
9
autotest/timeout/timeout.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
Core;
|
||||
|
||||
file
|
||||
timeout.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "SSE2";
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue