Skip to content

Commit 384fd57

Browse files
author
Arnaud Bouchez
committed
tests: refined continuous integration / regressions project
1 parent c80d12d commit 384fd57

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

LICENCE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# mORMot Framework Licencing Terms
22

3-
**The mORMot framework. Copyright (C) 2024 Arnaud Bouchez**
3+
**The mORMot framework. Copyright (C) 2025 Arnaud Bouchez**
44

55
**Synopse Informatique - https://synopse.info**
66

@@ -47,7 +47,7 @@ For instance, if you select the MPL license, here are the requirements:
4747
- You accept the license terms with no restriction - see http://www.mozilla.org/MPL/2.0/FAQ.html for additional information;
4848
- You have to publish any modified unit in a public web site (e.g. http://YourSoftwareCompany.com/MPL), with a description of applied modifications, and no removal of the original license header in source code;
4949
- You make appear some notice available in the program (About box, documentation, online help), stating e.g.
50-
*This software uses some third-party code of the Synopse mORMot framework (C) 2024 Arnaud Bouchez - https://synopse.info - under Mozilla Public License 1.1; modified source code is available at http://SoftwareCompany.com/MPL*
50+
*This software uses some third-party code of the Synopse mORMot framework (C) 2025 Arnaud Bouchez - https://synopse.info - under Mozilla Public License 1.1; modified source code is available at http://SoftwareCompany.com/MPL*
5151

5252

5353
## Derivate Open Source Works
@@ -64,7 +64,7 @@ If you want to include part of the framework source code in your own open-source
6464
Sample based on official mORMot's sample
6565
"SQLite3\Samples\09 - HttpApi web server\HttpApiServer.dpr"
6666

67-
Synopse mORMot framework. Copyright (C) 2024 Arnaud Bouchez
67+
Synopse mORMot framework. Copyright (C) 2025 Arnaud Bouchez
6868
Synopse Informatique - https://synopse.info
6969
Original tri-license: MPL 1.1/GPL 2.0/LGPL 2.1
7070
}

src/mormot.commit.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
'2.3.9322'
1+
'2.3.9323'

test/mormot2tests.dpr

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,16 @@ uses
2424
mormot.core.base,
2525
mormot.core.os,
2626
mormot.core.os.mac,
27+
mormot.core.os.security,
2728
mormot.core.unicode,
2829
mormot.core.text,
30+
mormot.core.buffers,
31+
mormot.core.data,
32+
mormot.core.rtti,
33+
mormot.core.json,
2934
mormot.core.datetime,
35+
mormot.core.search,
36+
mormot.core.threads,
3037
mormot.core.log,
3138
mormot.core.test,
3239
mormot.db.raw.sqlite3, // for the SQLite3 version below
@@ -35,6 +42,7 @@ uses
3542
mormot.db.sql.zeos,
3643
{$endif USEZEOS}
3744
{$ifdef FPC}
45+
mormot.tools.mget,
3846
//jsontools in '.\3party\jsontools.pas',
3947
//superobject in '.\3party\superobject.pas',
4048
//supertypes in '.\3party\supertypes.pas',
@@ -113,6 +121,7 @@ end;
113121
function TIntegrationTests.Run: boolean;
114122
var
115123
ssl: shortstring;
124+
comptime: RawUtf8;
116125
begin
117126
ssl[0] := #0;
118127
{$ifdef USE_OPENSSL}
@@ -122,12 +131,19 @@ begin
122131
if OpenSslIsAvailable then
123132
FormatShort(' and %', [OpenSslVersionText], ssl);
124133
{$endif USE_OPENSSL}
134+
// get compilation time of this executable: if moved to mormot.core.os, will
135+
// return the compilation timestamp of this unit, not of the project itself
136+
{$ifdef FPC}
137+
comptime := StringReplaceAll({$I %DATE%}, '/', '-') + ' ' + {$I %TIME%};
138+
{$else}
139+
StringToUtf8(Executable.Version.BuildDateTimeString, comptime);
140+
{$endif FPC}
141+
// add addition version information about the system and the executable
125142
CustomVersions := Format(CRLF + CRLF + '%s [%s %s %x]'+ CRLF +
126143
' %s' + CRLF + ' on %s'+ CRLF + 'Using mORMot %s %s%s'+ CRLF + ' %s',
127144
[OSVersionText, CodePageToText(Unicode_CodePage), KBNoSpace(SystemMemorySize),
128145
OSVersionInt32, CpuInfoText, BiosInfoText, SYNOPSE_FRAMEWORK_FULLVERSION,
129-
UnixTimeToTextDateShort(FileAgeToUnixTimeUtc(Executable.ProgramFileName)),
130-
ssl, sqlite3.Version]);
146+
comptime, ssl, sqlite3.Version]);
131147
result := inherited Run;
132148
end;
133149

0 commit comments

Comments
 (0)