Browse Source

* experimental test for #39722, no sure if it will work this way on all platforms

florian 3 years ago
parent
commit
5af087cfc3
1 changed files with 28 additions and 0 deletions
  1. 28 0
      tests/webtbs/tw39722.pp

+ 28 - 0
tests/webtbs/tw39722.pp

@@ -0,0 +1,28 @@
+{ %opt=-dtest\$FPCCPU -dtest\$FPCOS }
+
+begin
+{ test the most frequent combinations }
+{$ifdef CPUX86_64}
+{$ifdef testx86_64}
+  writeln('ok');
+{$else testx86_64}
+  halt(1);
+{$endif testx86_64}
+{$endif CPUX86_64}
+
+{$ifdef CPUAARCH64}
+{$ifdef testaarch64}
+  writeln('ok');
+{$else testaarch64}
+  halt(1);
+{$endif testaarch64}
+{$endif CPUAARCH64}
+
+{$ifdef LINUX}
+{$ifdef testlinux}
+  writeln('ok');
+{$else testlinux}
+  halt(1);
+{$endif testlinux}
+{$endif LINUX}
+end.