mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 10:39:40 +01:00 
			
		
		
		
	* Restrict all tests to win32 and win64 targets
* Rename executables so the DLL are generated before. git-svn-id: trunk@17788 -
This commit is contained in:
		
							parent
							
								
									3dba3a0219
								
							
						
					
					
						commit
						c4d43cfd59
					
				
							
								
								
									
										4
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							@ -9635,14 +9635,14 @@ tests/test/cg/variants/tvarol96.pp svneol=native#text/plain
 | 
			
		||||
tests/test/dumpclass.pp svneol=native#text/plain
 | 
			
		||||
tests/test/dumpmethods.pp svneol=native#text/plain
 | 
			
		||||
tests/test/lcpref.inc svneol=native#text/plain
 | 
			
		||||
tests/test/library/tdllexe.pp svneol=native#text/plain
 | 
			
		||||
tests/test/library/tdlltest.pp svneol=native#text/plain
 | 
			
		||||
tests/test/library/testdll.pp svneol=native#text/plain
 | 
			
		||||
tests/test/library/testdll2.pp svneol=native#text/plain
 | 
			
		||||
tests/test/library/tlib1a.pp svneol=native#text/plain
 | 
			
		||||
tests/test/library/tlib1a2.pp svneol=native#text/plain
 | 
			
		||||
tests/test/library/tlib1b.pp svneol=native#text/plain
 | 
			
		||||
tests/test/library/tlib2b.pp svneol=native#text/plain
 | 
			
		||||
tests/test/library/ttdllexe.pp svneol=native#text/plain
 | 
			
		||||
tests/test/library/ttdlltest.pp svneol=native#text/plain
 | 
			
		||||
tests/test/library/ulib2a.pp svneol=native#text/plain
 | 
			
		||||
tests/test/library/ulib2b.pp svneol=native#text/plain
 | 
			
		||||
tests/test/opt/README.txt svneol=native#text/plain
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,6 @@
 | 
			
		||||
{ %target=win32,win64 }
 | 
			
		||||
{ %needlibrary }
 | 
			
		||||
{ %neededafter }
 | 
			
		||||
{
 | 
			
		||||
  Copyright (c) 1998 by Pierre Muller
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,6 @@
 | 
			
		||||
{ %target=win32,win64 }
 | 
			
		||||
{ %needlibrary }
 | 
			
		||||
{ %neededafter }
 | 
			
		||||
{
 | 
			
		||||
  Copyright (c) 1998 by Pierre Muller
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
{ %skiptarget=go32v2 }
 | 
			
		||||
{ %target=win32,win64 }
 | 
			
		||||
{ %norun }
 | 
			
		||||
{$goto on}
 | 
			
		||||
{ %neededafter }
 | 
			
		||||
library tlib1a;
 | 
			
		||||
 | 
			
		||||
  procedure p(var a : dword);
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
{ %skiptarget=go32v2 }
 | 
			
		||||
{ %target=win32,win64 }
 | 
			
		||||
{ %norun }
 | 
			
		||||
{$goto on}
 | 
			
		||||
{ %neededafter }
 | 
			
		||||
library tlib1a2;
 | 
			
		||||
 | 
			
		||||
  procedure p(var a : dword);
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
{ %target=win32,win64,wince }
 | 
			
		||||
{ %target=win32,win64 }
 | 
			
		||||
{ %needlibrary }
 | 
			
		||||
 | 
			
		||||
{ Checks that the two functions with the same exported name 'p'
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,7 @@
 | 
			
		||||
{ %target=win32,win64,wince }
 | 
			
		||||
{ %target=win32,win64 }
 | 
			
		||||
{ %needlibrary }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
uses
 | 
			
		||||
  ulib2a, ulib2b;
 | 
			
		||||
{ Checks that the two functions with the same exported name 'p'
 | 
			
		||||
 | 
			
		||||
@ -1,9 +1,17 @@
 | 
			
		||||
{ %target=win32,win64 }
 | 
			
		||||
{ %needlibrary }
 | 
			
		||||
{
 | 
			
		||||
  Copyright (c) 1998 by Pierre Muller
 | 
			
		||||
 | 
			
		||||
  Win32 DLL usage example. It needs testdll.pp
 | 
			
		||||
  Win32 DLL usage example. It needs testdll2.pp
 | 
			
		||||
  This test checksq the windows abality to
 | 
			
		||||
  export a function in an executable.
 | 
			
		||||
 | 
			
		||||
  Here procedure TestExeProc is exported
 | 
			
		||||
  and is imported by testdll2 DLL.
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
program tdllexe;
 | 
			
		||||
 | 
			
		||||
program ttdllexe;
 | 
			
		||||
 | 
			
		||||
uses
 | 
			
		||||
  Windows;
 | 
			
		||||
@ -1,9 +1,15 @@
 | 
			
		||||
{ %target=win32,win64 }
 | 
			
		||||
{ %needlibrary }
 | 
			
		||||
{
 | 
			
		||||
  Copyright (c) 1998 by Pierre Muller
 | 
			
		||||
 | 
			
		||||
  Win32 DLL usage example. It needs testdll.pp
 | 
			
		||||
  Win32 DLL usage example. It needs testdll.pp DLL
 | 
			
		||||
 | 
			
		||||
  The use of threads creates RTE problems with compilers
 | 
			
		||||
  up to 2.4.4 release at least.
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
program tdlltest;
 | 
			
		||||
 | 
			
		||||
program ttdlltest;
 | 
			
		||||
 | 
			
		||||
uses
 | 
			
		||||
  Windows;
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
{ %target=win32,win64,wince }
 | 
			
		||||
{ %target=win32,win64 }
 | 
			
		||||
{ %needlibrary }
 | 
			
		||||
 | 
			
		||||
unit
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
{ %target=win32,win64,wince }
 | 
			
		||||
{ %target=win32,win64 }
 | 
			
		||||
{ %needlibrary }
 | 
			
		||||
 | 
			
		||||
unit
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user