[VOL-2040]: Patch the macro required by core.cc into bcmos_system.h file
Change-Id: Ic841785b2ce451b1acaf007074b8c458687bc753
diff --git a/.gitignore b/.gitignore
index df4bce5..86addb2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,7 +26,7 @@
test_openolt
# Test report
-test_openolt_report.xml
+**/openolt_test_results.xml
# IntelliJ Files
.idea
diff --git a/agent/test/Makefile.in b/agent/test/Makefile.in
index c9f3e83..bc8c91b 100644
--- a/agent/test/Makefile.in
+++ b/agent/test/Makefile.in
@@ -126,6 +126,7 @@
echo "$(BAL_API_DIR) exists"; \
else \
git clone https://github.com/balapi/bal-api-3.1.0.git ;\
+ sed -i "\$$i #define BCMOLT_TM_QUEUE_KEY_TM_Q_SET_ID_DEFAULT 0" ./bal-api-3.1.0/include/bcmos_system.h; \
sed -i "\$$i struct bcmos_mutex \{ pthread_mutex_t m; };" ./bal-api-3.1.0/include/bcmos_system.h; \
fi