Skip to content

Commit

Permalink
fixup: datalogger tests typos
Browse files Browse the repository at this point in the history
Signed-off-by: IonutMuthi <ionut.muthi@analog.com>
  • Loading branch information
IonutMuthi authored and adisuciu committed Aug 9, 2024
1 parent 4df20b4 commit fbd3160
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions plugins/datalogger/js/dataLoggerAutomatedTest.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
//This import paht is relative to where scopy is build
evaluateFile("../js/scpyDefaultJsFunctions.js")
//This import path is relative to where scopy is build
evaluateFile("../js/scopycommon.js")
evaluateFile("../plugins/datalogger/js/dataLoggerFunctions.js")

function dataLogAndLoadTest(){
//TODO REPLACE WITH VAR
const filePath = "../plugins/datalogger/js/test.csv"

printToConsole("FILE IS " + filePath)
Expand Down
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if(ENABLE_AUTOMATED_TESTS)
# DATALOGGER
if(ENABLE_PLUGIN_DATALOGGER)
add_test(NAME "DataloggerLogAndLoadJSTests"
COMMAND bash ${CMAKE_SOURCE_DIR} / js / test.sh "${CMAKE_SOURCE_DIR}/resources/emuXml/"
COMMAND bash ${CMAKE_SOURCE_DIR}/js/test.sh "${CMAKE_SOURCE_DIR}/resources/emuXml/"
"${CMAKE_SOURCE_DIR}/plugins/datalogger/js/dataLoggerAutomatedTest.js"
)
endif()
Expand Down

0 comments on commit fbd3160

Please sign in to comment.