 $     endif
 $!
 $ plibsys_objs = f$extract (0, f$length (plibsys_objs) - 1, plibsys_objs)
-$ 
 $!
 $! Create library
 $! --------------

$! ------------
$!
$ build_tests:
$ if is_tests .eqs. "0"
$ then
$     goto build_done

$         @[-]deltree CXX_REPOSITORY
$         purge 'next_test'.obj
$         purge 'next_test'.exe
$!
$         test_counter = test_counter + 1
$         goto test_loop
$     endif
$!
$ build_done:
$     'vo_c' "Build done."
$!
$! Run unit tests
$! --------------
$!
$ if run_tests .eqs. "0"
$ then
$     goto common_exit
$ endif
$!
$ 'vo_c' "Running tests..."
$ test_counter = 0
$!
$ run_loop:
$     next_test = f$element (test_counter, " ", test_list_full)
$     if next_test .nes. "" .and. next_test .nes. " "
$     then
$         if f$search("''next_test'_test.exe") .eqs. ""
$         then
$             'vo_c' "[SKIP] ''next_test'"
$             goto run_loop_next
$         endif
$!
$         'vo_c' "[RUN]  ''next_test'"
$         next_test = next_test + "_test.exe"
$!
$         define/user sys$error NL:
$         define/user sys$output NL:
$         run 'next_test'
$!
$ run_loop_next:
$         test_counter = test_counter + 1
$         goto run_loop
$     endif
$!
$ common_exit:
$     set default 'orig_def'
