longer split per directory, but in chunks of 100 tests (configurable via
the new CHUNKSIZE=xxx Makefile parameter), which then all can be checked
in parallel
o dependencies between tests are handled by always putting tests whose
name is the same except for the last character into the same chunk
o as previously, -jx can only be used for the "all" target, other targets
cannot be executed in parallel
o the "units" directory has been renamed "tstunits" because otherwise
"make distclean" will remove it entirely now that the main tests
makefile also compiles a program
git-svn-id: trunk@21479 -
target can be run in parallel, so "clean", "digest" and/or "dbdigest"
have to be run in separate make invocations if you wish to use -j for
running the testsuite
git-svn-id: trunk@21406 -
example: %OPT=-gl win32%-WN
if % is found in OPT list, the string after % is only added
to the compiler options if current target is
contained in the list of the string before the % sign.
+ Add %DELOPT dotest option.
can be used in two variants
%DELOPT=-Crio
will suppress -Criot from TEST_OPT if it appears exactly
(-Criot will not match).
%DELOPT=-C* will suppress all options starting with -C.
git-svn-id: trunk@20640 -
at startup to avoid need of constant use of lowercase function.
+ Added RemoteShell, RemoteShellBase and RemoteShellNeedsExport to
be able to set LD_LIBRARY_PATH on remote connections.
(Other checks might be necessary to avoid use of wrong environment
settings for other shells).
+ TargetIsUnix: New variable, based on UNIX presence within
target_info.extadefines field.
+ SpliTFileBase: New function returning only base part.
+ LibraryExists: New function to see if a library was created,
Library name is also constructed based on target_info fields.
* ExecuteRemote,ExecuteEmulated: moved to global scope to allow use at start
to check type of shell used.
* RunExecutable: Adapted to set env. varaible LD_LIBRARY_PATH for remote
connections.
+ MaybeCopyFiles: New function to separate file copy operations.
+ SetRemoteConfiguration: New function to set RemoteShellXXX variables.
* RunTest: Use LibraryExists to avoid running a library
and possibly copy library to remote.
git-svn-id: trunk@19331 -
change in utils/fpcm/fpcmake.ini in prevous commit.
Adapt also other files to that change:
* compiler/globals.pas: Replace $FPCTARGET by os_string if
tf_use_8_3 flag is set for target_info also.
* tests/Makefile.fpc: Modify TEST_TARGETSUFFIX in the same way
as TARGETSUFFIX was modified in previous commit.
* tests/utils/dotest.pp:
+ New variable UseOSOnly, set to true if only target OS name
should be used for subdirectories.
git-svn-id: trunk@18228 -
* Better handle relative remotepath:
- use cd to go to this path,
- but call executable using only ./execfilename
* Keep .exe suffix for cygwin style ssh for go32v2, win32 or win64 targets
git-svn-id: trunk@16905 -
TargetIsMacOS: New variables, used in new function IsAbsolute.
SetTargetDirectoriesStyle;, IsMacFullPath, IsAbsolute: New functions.
CopyFile: Changed from procedure to function returning the
number of copied chars.
RunCompiler: Add compilation type for benchmark -D option.
RunExecutable: Add execution time for benchmark -D option.
Also report Exitcode on failure if no output is written
(i.e. CopyFile returns zero written chars).
HelpScreen function: Order options alphabetically.
Add new -D benchmark option.
git-svn-id: trunk@16757 -
later: the same as i386/darwin, except
a) uses the non-fragile Objective-C ABI/runtime
b) does not require stubs for direct calls/jumps (not required for
i386/darwin under 10.6 and later either, but still generated
there for backwards compatibility)
c) only the same packages are enabled as for ARM/Darwin
d) MacOSAll is compiled specifically for the iPhoneSimulator SDK
This target also defines the symbol "darwin" apart from the target
name "iphonesim" for source code compatibility reasons.
git-svn-id: trunk@16065 -
* removed TP/1.0
* switched windows to sysutils.executeprocess using new execinheritshandles
* new execinherits executeprocess implementation local for 2.4.0 (and 2.4.1, though that is no longer necessary after merge)
git-svn-id: trunk@14618 -