From 1eb468353bfb6f32affc881dc9002c04d5df5df0 Mon Sep 17 00:00:00 2001
From: Patrick Baudin <patrick.baudin@cea.fr>
Date: Mon, 21 Jan 2019 15:51:27 +0100
Subject: [PATCH] [tests] adds some -no-autoload-plugins (changes in vid)

---
 tests/syntax/get_astinfo_bts1136.i            |  2 +-
 .../oracle/get_astinfo_bts1136.res.oracle     | 24 +++++++++----------
 tests/syntax/oracle/syntactic_hook.res.oracle | 12 +++++-----
 tests/syntax/syntactic_hook.i                 |  2 +-
 4 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/tests/syntax/get_astinfo_bts1136.i b/tests/syntax/get_astinfo_bts1136.i
index 22c2108a19a..694aacdf379 100644
--- a/tests/syntax/get_astinfo_bts1136.i
+++ b/tests/syntax/get_astinfo_bts1136.i
@@ -1,6 +1,6 @@
 /* run.config
 EXECNOW: make -s @PTEST_DIR@/@PTEST_NAME@.cmxs
-OPT: -load-module @PTEST_DIR@/@PTEST_NAME@.cmxs
+OPT: -no-autoload-plugins -load-module @PTEST_DIR@/@PTEST_NAME@.cmxs
 */
 int f (int x) { return x; }
 int g (int x) { return x; }
diff --git a/tests/syntax/oracle/get_astinfo_bts1136.res.oracle b/tests/syntax/oracle/get_astinfo_bts1136.res.oracle
index cffcd6e4b73..6366ae5e8ee 100644
--- a/tests/syntax/oracle/get_astinfo_bts1136.res.oracle
+++ b/tests/syntax/oracle/get_astinfo_bts1136.res.oracle
@@ -1,13 +1,13 @@
 [kernel] Parsing tests/syntax/get_astinfo_bts1136.i (no preprocessing)
-found variable vid:22 formal in f
-found variable vid:25 formal in g
-found variable vid:28 formal in h
-found variable vid:30 formal in i
-found variable vid:32 formal in j
-found variable vid:34 formal in k
-[do_v] vid:28 formal in h
-[do_v] vid:25 formal in g
-[do_v] vid:22 formal in f
-[do_v] vid:34 local in k
-[do_v] vid:32 local in j
-[do_v] vid:30 local in i
+found variable vid:20 formal in f
+found variable vid:23 formal in g
+found variable vid:26 formal in h
+found variable vid:28 formal in i
+found variable vid:30 formal in j
+found variable vid:32 formal in k
+[do_v] vid:26 formal in h
+[do_v] vid:23 formal in g
+[do_v] vid:20 formal in f
+[do_v] vid:32 local in k
+[do_v] vid:30 local in j
+[do_v] vid:28 local in i
diff --git a/tests/syntax/oracle/syntactic_hook.res.oracle b/tests/syntax/oracle/syntactic_hook.res.oracle
index 4d15d03a3ad..f91bf389eda 100644
--- a/tests/syntax/oracle/syntactic_hook.res.oracle
+++ b/tests/syntax/oracle/syntactic_hook.res.oracle
@@ -1,22 +1,22 @@
 [kernel] Parsing tests/syntax/syntactic_hook.i (no preprocessing)
 [kernel] tests/syntax/syntactic_hook.i:5: 
-  New global node introducing identifier f(22)
+  New global node introducing identifier f(20)
 [kernel] First occurrence of f
 [kernel] tests/syntax/syntactic_hook.i:7: 
-  New global node introducing identifier k(25)
+  New global node introducing identifier k(23)
 [kernel] First occurrence of k
 [kernel] tests/syntax/syntactic_hook.i:9: 
-  New global node introducing identifier k(25)
+  New global node introducing identifier k(23)
 [kernel] New occurrence of existing identifier k
 [kernel] tests/syntax/syntactic_hook.i:11: 
-  New global node introducing identifier main(31)
+  New global node introducing identifier main(29)
 [kernel] First occurrence of main
 [kernel] tests/syntax/syntactic_hook.i:13: 
-  New global node introducing identifier t(35)
+  New global node introducing identifier t(33)
 [kernel] First occurrence of t
 [kernel] tests/syntax/syntactic_hook.i:13: Warning: 
   [SH]: definition of local function t
-[kernel] :0: New global node introducing identifier g(37)
+[kernel] :0: New global node introducing identifier g(35)
 [kernel] First occurrence of g
 [kernel:typing:implicit-function-declaration] tests/syntax/syntactic_hook.i:17: Warning: 
   Calling undeclared function g. Old style K&R code?
diff --git a/tests/syntax/syntactic_hook.i b/tests/syntax/syntactic_hook.i
index affb7ad1e3c..d887e89667e 100644
--- a/tests/syntax/syntactic_hook.i
+++ b/tests/syntax/syntactic_hook.i
@@ -1,6 +1,6 @@
 /* run.config
    EXECNOW: make -s @PTEST_DIR@/@PTEST_NAME@.cmxs
-   STDOPT: +"-load-module @PTEST_DIR@/@PTEST_NAME@.cmxs"
+   STDOPT: +"-no-autoload-plugins -load-module @PTEST_DIR@/@PTEST_NAME@.cmxs"
 */
 int f(void);
 
-- 
GitLab