From 3a04a7fd380af1a3390c6a64c2b168f658d81a02 Mon Sep 17 00:00:00 2001
From: Federico Felici <federico.felici@epfl.ch>
Date: Tue, 24 Sep 2019 16:31:49 +0200
Subject: [PATCH] Move compilation tests to main test suite

---
 tests/test_expcodes.m | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/test_expcodes.m b/tests/test_expcodes.m
index c1460ff..874affb 100644
--- a/tests/test_expcodes.m
+++ b/tests/test_expcodes.m
@@ -43,5 +43,11 @@ classdef test_expcodes < matlab.unittest.TestCase
       testCase.assertTrue(true); % dummy
     end
     
+   function test_compilation(testCase)
+     node_to_compile = 'SCD_rtccode_02_02';
+     load_system(node_to_compile);
+     SCDconf_setCODEconf;
+     rtwbuild(node_to_compile);
+   end
   end
 end
-- 
GitLab