Fix wrong logic in test introduced in ceb67c42.

11 jobs for master in 85 minutes and 51 seconds (queued for 11 seconds)
Status Name Job ID Coverage
  Build
passed build_binaries #35269

00:11:25

passed build_doc #35270

00:01:32

 
  Test
passed test_dynare++ #35274

00:15:37

failed test_matlab #35271

01:14:16

manual test_octave #35273
allowed to fail manual
manual test_old_matlab #35272
allowed to fail manual
 
  Pkg
passed pkg_macOS #35277
macOS

00:21:17

passed pkg_source #35275

00:02:42

passed pkg_windows #35276

00:15:05

 
  Deploy
skipped deploy_manual_unstable #35278
restricted
skipped deploy_snapshot_unstable #35279
restricted
 
Name Stage Failure
failed
test_matlab Test
Uploading artifacts...
Runtime platform
arch=amd64 os=linux pid=355380 revision=e0218c92 version=14.3.2
tests/**/*.m.log: found 616 matching files and directories

tests/**/*.m.trs: found 616 matching files and directories

tests/**/*.jnl: found 1 matching files and directories

tests/run_test_matlab_output.txt: found 1 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=35271 responseStatus=201 Created token=yuM7ZBuR
Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1