File tree 1 file changed +23
-0
lines changed
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ include ("rsp/testing" )
2
+ include ("rsp/compilers/gcc" )
3
+ include ("rsp/debug" )
4
+
5
+ define_test_case(
6
+ "GCC Info Test"
7
+ LABELS "gcc;version;compilers"
8
+ )
9
+
10
+ # -------------------------------------------------------------------------------------------------------------- #
11
+ # Actual tests
12
+ # -------------------------------------------------------------------------------------------------------------- #
13
+
14
+ define_test("can obtain GCC path and version" "can_obtain_gcc_info" )
15
+ function (can_obtain_gcc_info)
16
+
17
+ gcc_info(OUTPUT result)
18
+
19
+ assert_string_not_empty("${result} " MESSAGE "GCC path not obtained" )
20
+
21
+ assert_defined("result_VERSION" MESSAGE "GCC Version not defined" )
22
+ assert_string_not_empty("${result_VERSION} " MESSAGE "GCC path not obtained" )
23
+ endfunction ()
You can’t perform that action at this time.
0 commit comments