File: 0013-fix-hardcoded-clang-in-python-tests.patch

package info (click to toggle)
rtags 2.41-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,768 kB
  • sloc: cpp: 51,883; lisp: 5,389; ansic: 1,637; sh: 563; python: 305; objc: 81; makefile: 29
file content (22 lines) | stat: -rw-r--r-- 932 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Denis Danilov <danilovdenis@yandex.ru>
Date: Thu, 5 Mar 2020 20:47:12 +0100
Subject: fix hardcoded clang++ in python tests

Forwarded: not-needed
---
 tests/automated/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/automated/utils.py b/tests/automated/utils.py
index 154671e..40375a0 100644
--- a/tests/automated/utils.py
+++ b/tests/automated/utils.py
@@ -155,7 +155,7 @@ class RTags():
         src_files = [os.path.join(directory, src_file) for src_file in files if src_file.endswith(('.cpp', '.c'))]
 
         if not compile_commands:
-            compile_commands = ('clang++ -std=c++11 -I. -c ' + src_file for src_file in src_files)
+            compile_commands = ('c++ -std=c++11 -I. -c ' + src_file for src_file in src_files)
         else:
             # The source file might be specified as relative path, that is doomed, so replace it
             # with the absolute variant.