mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@10566 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4300ef2a9a
commit
3dc4d2fcc4
3 changed files with 9 additions and 7 deletions
|
|
@ -8,16 +8,14 @@ void GetRepoInfo(String repo, Date& d, int& rev)
|
|||
LOG("SVN info:");
|
||||
LOG(s);
|
||||
|
||||
String key = "Revision: ";
|
||||
int q = s.Find(key);
|
||||
int q = s.FindAfter("Last Changed Rev: ");
|
||||
ASSERT(q >= 0);
|
||||
rev = atoi(s.Mid(q + key.GetCount()));
|
||||
rev = atoi(~s + q);
|
||||
ASSERT(rev > 0);
|
||||
|
||||
key = "Last Changed Date: ";
|
||||
q = s.Find(key);
|
||||
q = s.FindAfter("Last Changed Date: ");
|
||||
ASSERT(q >= 0);
|
||||
s = s.Mid(q + key.GetCount());
|
||||
s = s.Mid(q);
|
||||
ASSERT(s.GetCount() > 18);
|
||||
|
||||
// 2014-10-30 01:01:56
|
||||
|
|
@ -46,7 +44,7 @@ CONSOLE_APP_MAIN
|
|||
|
||||
ASSERT(d == d1 && rev == rev1);
|
||||
|
||||
GetRepoInfo("svn://www.ultimatepp.org/upp/trunk", d, rev);
|
||||
GetRepoInfo("svn://www.ultimatepp.org/upp/trunk/uppsrc", d, rev);
|
||||
LOG("upp.src revision: " << rev);
|
||||
|
||||
String h = HttpRequest("https://github.com/ultimatepp/mirror/commits/master").Execute();
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ using namespace Upp;
|
|||
|
||||
CONSOLE_APP_MAIN {
|
||||
StdLogSetup(LOG_COUT|LOG_FILE);
|
||||
|
||||
TimeStop tm;
|
||||
|
||||
Vector<int> x;
|
||||
for(int i = 0; i < 100000000; i++)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
description "#WAIT: 10\377";
|
||||
|
||||
uses
|
||||
Core;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue