File: 1070-fix-remote-api-functions-test.patch

package info (click to toggle)
nbc 1.2.1.r4%2Bdfsg-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,708 kB
  • sloc: pascal: 44,583; ansic: 14,747; sh: 22; xml: 18; makefile: 8
file content (17 lines) | stat: -rw-r--r-- 368 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Subject: Add test for Remote* API functions fix
Author: Nicolas Schodet <nico@ni.fr.eu.org>
Forwarded: no
Last-Update: 2024-10-27

--- a/tests/test.nxc
+++ b/tests/test.nxc
@@ -269,3 +269,9 @@ void PID()
   OnFwdSyncExPID(OUT_AB, 75, 0, RESET_NONE, 30, 50, 90);
 }
 
+void Remote()
+{
+  RemoteStopProgram(1);
+  RemoteStopSound(1);
+  RemoteKeepAlive(1);
+}