Skip to content

Commit

Permalink
Set EDITOR for demos tests in headless mode
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Nov 22, 2024
1 parent b5597f2 commit 875bfce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/DemoTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ function buildHDLTuneAGC(testCase)
testCase.setupVivado('2022.2');
cd(fullfile(testCase.root,'trx_examples/targeting/tuneAGC-ad9361'));
% Get dependent scripts from example
if ~usejava('desktop')
setenv('EDITOR', 'cat');
end
here = pwd;
matlab.internal.language.introspective.openExample('comm/WINNERVHTMUMIMOExample', 'helperNoiseEstimate');
copyfile("helperNoiseEstimate.m",here);
Expand Down

0 comments on commit 875bfce

Please sign in to comment.