* During remote execution, use && as a command separator after important commands such as CD to ensure that the command succeeded before running other commands. Group other commands using curly braces { }.
git-svn-id: branches/targetandroid@23488 -
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 -