Skip to content

Instantly share code, notes, and snippets.

@certik
Created January 28, 2026 02:57
Show Gist options
  • Select an option

  • Save certik/3b67de6c66e11a3e36e0d656e0b7e5f8 to your computer and use it in GitHub Desktop.

Select an option

Save certik/3b67de6c66e11a3e36e0d656e0b7e5f8 to your computer and use it in GitHub Desktop.
~/repos/fpm(lf-21)$ fpm --compiler=$FC test --flag "--cpp --realloc-lhs-arrays --use-loop-variable-after-loop"
Project is up to date
<INFO>TEST help SUBCOMMAND STARTED
<INFO>check fpm for NAME SYNOPSIS DESCRIPTION
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help fpm >fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
<INFO>have completed 4 tests
<INFO>check new for NAME SYNOPSIS DESCRIPTION
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help new >fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
<INFO>have completed 8 tests
<INFO>check update for NAME SYNOPSIS DESCRIPTION
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help update >fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
<INFO>have completed 12 tests
<INFO>check build for NAME SYNOPSIS DESCRIPTION
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help build >fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
<INFO>have completed 16 tests
<INFO>check run for NAME SYNOPSIS DESCRIPTION
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help run >fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
<INFO>have completed 20 tests
<INFO>check test for NAME SYNOPSIS DESCRIPTION
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help test >fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
<INFO>have completed 24 tests
<INFO>check runner for NAME SYNOPSIS DESCRIPTION
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help runner >fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
<INFO>have completed 28 tests
<INFO>check install for NAME SYNOPSIS DESCRIPTION
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help install >fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
<INFO>have completed 32 tests
<INFO>check list for NAME SYNOPSIS DESCRIPTION
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help list >fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
<INFO>have completed 36 tests
<INFO>check help for NAME SYNOPSIS DESCRIPTION
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help help >fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
<INFO>have completed 40 tests
<INFO>check clean for NAME SYNOPSIS DESCRIPTION
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help clean >fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
<INFO>have completed 44 tests
Version: 0.12.0, alpha
Program: fpm(1)
Description: A Fortran package manager and build system
Home Page: https://github.com/fortran-lang/fpm
License: MIT
OS Type: Linux
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm --version EXITSTAT=0 CMDSTAT=0 MESSAGE=
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm --help > fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help new >> fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help update >> fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm build --help >> fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help run >> fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help test >> fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help runner >> fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help install >> fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help list >> fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help help >> fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help clean >> fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help publish >> fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm --version >> fpm_scratch_help.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
STOP
<INFO>CMD=build/lfortran_B32920A010424AF1/test//../app/fpm help manual > fpm_scratch_manual.txt EXITSTAT=0 CMDSTAT=0 MESSAGE=
<INFO>book1 905 132
<INFO>book2 905 132
<INFO>manual and "debug" appended pages are the same
<INFO>"debug" manual size in bytes= 38630 lines= 905
<INFO>HELP TEST TALLY=TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
<INFO>PASSED: all 61 tests passed
<INFO>TEST help SUBCOMMAND COMPLETE
TEST new SUBCOMMAND (draft):
build/lfortran_B32920A010424AF1/test//../app/fpm new
<USAGE> fpm new NAME [[--lib|--src] [--app] [--test] [--example]]|[--full|--bare] [--backfill]
<ERROR> directory name required
STOP 1
CMD=new EXITSTAT=1 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new name-with-hyphens
+ mkdir -p name-with-hyphens
+ cd name-with-hyphens
+ mkdir -p name-with-hyphens/src
+ mkdir -p name-with-hyphens/app
+ mkdir -p name-with-hyphens/test
+ git config --get user.name > /tmp/filezhxXvK
+ git config --get user.email > /tmp/filexRMKSv
+ git config --get user.name > /tmp/fileQbJrdf
+ git config --get user.name > /tmp/filegUlsvJ
+ git init name-with-hyphens
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/ondrej/repos/fpm/name-with-hyphens/.git/
Segmentation fault (core dumped)
CMD=new name-with-hyphens EXITSTAT=139 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new fpm_scratch_A
+ mkdir -p fpm_scratch_A
+ cd fpm_scratch_A
+ mkdir -p fpm_scratch_A/src
+ mkdir -p fpm_scratch_A/app
+ mkdir -p fpm_scratch_A/test
+ git config --get user.name > /tmp/fileHhk9nY
+ git config --get user.email > /tmp/fileWvrLUO
+ git config --get user.name > /tmp/fileCH9idM
+ git config --get user.name > /tmp/fileNPTIwe
+ git init fpm_scratch_A
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/ondrej/repos/fpm/fpm_scratch_A/.git/
Segmentation fault (core dumped)
CMD=new fpm_scratch_A EXITSTAT=139 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new fpm_scratch_B --lib
+ mkdir -p fpm_scratch_B
+ cd fpm_scratch_B
+ mkdir -p fpm_scratch_B/src
+ git config --get user.name > /tmp/filePesuSG
+ git config --get user.email > /tmp/filejMBccT
+ git config --get user.name > /tmp/fileEGKj0V
+ git config --get user.name > /tmp/filemwcmY1
+ git init fpm_scratch_B
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/ondrej/repos/fpm/fpm_scratch_B/.git/
Segmentation fault (core dumped)
CMD=new fpm_scratch_B --lib EXITSTAT=139 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new fpm_scratch_C --app
+ mkdir -p fpm_scratch_C
+ cd fpm_scratch_C
+ mkdir -p fpm_scratch_C/app
+ git config --get user.name > /tmp/filemrfaFr
+ git config --get user.email > /tmp/filemGBfyI
+ git config --get user.name > /tmp/fileATZgAv
+ git config --get user.name > /tmp/fileno2CSV
+ git init fpm_scratch_C
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/ondrej/repos/fpm/fpm_scratch_C/.git/
Segmentation fault (core dumped)
CMD=new fpm_scratch_C --app EXITSTAT=139 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new fpm_scratch_D --test
+ mkdir -p fpm_scratch_D
+ cd fpm_scratch_D
+ mkdir -p fpm_scratch_D/test
+ git config --get user.name > /tmp/file1xKzII
+ git config --get user.email > /tmp/filej2Sgh3
+ git config --get user.name > /tmp/filenx8z2N
+ git config --get user.name > /tmp/filerz2eoT
+ git init fpm_scratch_D
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/ondrej/repos/fpm/fpm_scratch_D/.git/
Segmentation fault (core dumped)
CMD=new fpm_scratch_D --test EXITSTAT=139 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new fpm_scratch_E --lib --test
+ mkdir -p fpm_scratch_E
+ cd fpm_scratch_E
+ mkdir -p fpm_scratch_E/src
+ mkdir -p fpm_scratch_E/test
+ git config --get user.name > /tmp/fileXchluF
+ git config --get user.email > /tmp/fileIF1f7g
+ git config --get user.name > /tmp/fileb9T5QQ
+ git config --get user.name > /tmp/file93uxwd
+ git init fpm_scratch_E
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/ondrej/repos/fpm/fpm_scratch_E/.git/
Segmentation fault (core dumped)
CMD=new fpm_scratch_E --lib --test EXITSTAT=139 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new fpm_scratch_F --lib --app
+ mkdir -p fpm_scratch_F
+ cd fpm_scratch_F
+ mkdir -p fpm_scratch_F/src
+ mkdir -p fpm_scratch_F/app
+ git config --get user.name > /tmp/fileQUO4VU
+ git config --get user.email > /tmp/filexpmV3i
+ git config --get user.name > /tmp/filetcyHQs
+ git config --get user.name > /tmp/file0CvoJw
+ git init fpm_scratch_F
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/ondrej/repos/fpm/fpm_scratch_F/.git/
Segmentation fault (core dumped)
CMD=new fpm_scratch_F --lib --app EXITSTAT=139 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new fpm_scratch_G --test --app
+ mkdir -p fpm_scratch_G
+ cd fpm_scratch_G
+ mkdir -p fpm_scratch_G/app
+ mkdir -p fpm_scratch_G/test
+ git config --get user.name > /tmp/file572IGx
+ git config --get user.email > /tmp/fileDc0m2f
+ git config --get user.name > /tmp/fileiHHmZK
+ git config --get user.name > /tmp/fileQLDIHX
+ git init fpm_scratch_G
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/ondrej/repos/fpm/fpm_scratch_G/.git/
Segmentation fault (core dumped)
CMD=new fpm_scratch_G --test --app EXITSTAT=139 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new fpm_scratch_H --example
+ mkdir -p fpm_scratch_H
+ cd fpm_scratch_H
+ mkdir -p fpm_scratch_H/example
+ git config --get user.name > /tmp/fileN8sJUi
+ git config --get user.email > /tmp/file0c7c5d
+ git config --get user.name > /tmp/fileMZxtNi
+ git config --get user.name > /tmp/filepoiseo
+ git init fpm_scratch_H
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/ondrej/repos/fpm/fpm_scratch_H/.git/
Segmentation fault (core dumped)
CMD=new fpm_scratch_H --example EXITSTAT=139 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new fpm_scratch_BB --lib
+ mkdir -p fpm_scratch_BB
+ cd fpm_scratch_BB
+ mkdir -p fpm_scratch_BB/src
+ git config --get user.name > /tmp/filedXCdqF
+ git config --get user.email > /tmp/fileRmtqx8
+ git config --get user.name > /tmp/filekTVSZA
+ git config --get user.name > /tmp/fileOI8HkN
+ git init fpm_scratch_BB
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/ondrej/repos/fpm/fpm_scratch_BB/.git/
Segmentation fault (core dumped)
CMD=new fpm_scratch_BB --lib EXITSTAT=139 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new fpm_scratch_BB --test
<ERROR> fpm_scratch_BB already exists.
perhaps you wanted to add --backfill ?
Segmentation fault (core dumped)
CMD=new fpm_scratch_BB --test EXITSTAT=139 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new fpm_scratch_BB --backfill --test
backfilling fpm_scratch_BB
+ cd fpm_scratch_BB
<INFO> fpm_scratch_BB/README.md already exists. Not overwriting
+ mkdir -p fpm_scratch_BB/test
<INFO> fpm_scratch_BB/fpm.toml already exists. Not overwriting
+ git init fpm_scratch_BB
Reinitialized existing Git repository in /home/ondrej/repos/fpm/fpm_scratch_BB/.git/
Segmentation fault (core dumped)
CMD=new fpm_scratch_BB --backfill --test EXITSTAT=139 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new fpm_scratch_CC --test --src --app
+ mkdir -p fpm_scratch_CC
+ cd fpm_scratch_CC
+ mkdir -p fpm_scratch_CC/src
+ mkdir -p fpm_scratch_CC/app
+ mkdir -p fpm_scratch_CC/test
+ git config --get user.name > /tmp/file9Lgxwy
+ git config --get user.email > /tmp/filegZFAJN
+ git config --get user.name > /tmp/filenOwMOT
+ git config --get user.name > /tmp/fileULfoW2
+ git init fpm_scratch_CC
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/ondrej/repos/fpm/fpm_scratch_CC/.git/
Segmentation fault (core dumped)
CMD=new fpm_scratch_CC --test --src --app EXITSTAT=139 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new --version
Version: 0.12.0, alpha
Program: fpm(1)
Description: A Fortran package manager and build system
Home Page: https://github.com/fortran-lang/fpm
License: MIT
OS Type: Linux
STOP
CMD=new --version EXITSTAT=0 CMDSTAT=0 MESSAGE=
build/lfortran_B32920A010424AF1/test//../app/fpm new --help
NAME
new(1) - the fpm(1) subcommand to initialize a new project
SYNOPSIS
fpm new NAME [[--lib|--src] [--app] [--test] [--example]]|
[--full|--bare][--backfill]
fpm new --help|--version
DESCRIPTION
"fpm new" creates and populates a new programming project directory.
It
o creates a directory with the specified name
o runs the command "git init" in that directory
o populates the directory with the default project directories
o adds sample Fortran source files
The default file structure (that will be automatically scanned) is
NAME/
fpm.toml
src/
NAME.f90
app/
main.f90
test/
check.f90
example/
demo.f90
Using this file structure is highly encouraged, particularly for
small packages primarily intended to be used as dependencies.
If you find this restrictive and need to customize the package
structure you will find using the --full switch creates a
heavily annotated manifest file with references to documentation
to aid in constructing complex package structures.
Remember to update the information in the sample "fpm.toml"
file with your name and e-mail address.
OPTIONS
NAME the name of the project directory to create. The name
must be made of up to 63 ASCII letters, digits, underscores,
or hyphens, and start with a letter.
The default is to create the src/, app/, and test/ directories.
If any of the following options are specified then only the
selected subdirectories are generated:
--lib,--src create directory src/ and a placeholder module
named "NAME.f90" for use with subcommand "build".
--app create directory app/ and a placeholder main
program for use with subcommand "run".
--test create directory test/ and a placeholder program
for use with the subcommand "test". Note that sans
"--lib" it really does not have anything to test.
--example create directory example/ and a placeholder program
for use with the subcommand "run --example".
It is only created by default if "--full is" specified.
So the default is equivalent to
fpm NAME --lib --app --test
--backfill By default the directory must not exist. If this
option is present the directory may pre-exist and
only subdirectories and files that do not
already exist will be created. For example, if you
previously entered "fpm new myname --lib" entering
"fpm new myname -full --backfill" will create any missing
app/, example/, and test/ directories and programs.
--full By default a minimal manifest file ("fpm.toml") is
created that depends on auto-discovery. With this
option a much more extensive manifest sample is written
and the example/ directory is created and populated.
It is designed to facilitate creating projects that
depend extensively on non-default build options.
--bare A minimal manifest file ("fpm.toml") is created and
"README.md" file is created but no directories or
sample Fortran are generated.
--help print this help and exit
--version print program version information and exit
EXAMPLES
Sample use
fpm new myproject # create new project directory and seed it
cd myproject # Enter the new directory
# and run commands such as
fpm build
fpm run # run lone example application program
fpm test # run example test program(s)
fpm run --example # run lone example program
fpm new A --full # create example/ and an annotated fpm.toml as well
fpm new A --bare # create no directories
create any missing files in current directory
fpm new --full --backfill
STOP
CMD=new --help EXITSTAT=0 CMDSTAT=0 MESSAGE=
WARNING: unexpected number of files in file list= 35 expected 8
EXPECTED: fpm_scratch_A/app
EXPECTED: fpm_scratch_A/fpm.toml
EXPECTED: fpm_scratch_A/README.md
EXPECTED: fpm_scratch_A/src
EXPECTED: fpm_scratch_A/test
EXPECTED: fpm_scratch_A/app/main.f90
EXPECTED: fpm_scratch_A/src/fpm_scratch_A.f90
EXPECTED: fpm_scratch_A/test/check.f90
FOUND: fpm_scratch_A/test
FOUND: fpm_scratch_A/app
FOUND: fpm_scratch_A/README.md
FOUND: fpm_scratch_A/fpm.toml
FOUND: fpm_scratch_A/.git
FOUND: fpm_scratch_A/src
FOUND: fpm_scratch_A/test/check.f90
FOUND: fpm_scratch_A/app/main.f90
FOUND: fpm_scratch_A/.git/hooks
FOUND: fpm_scratch_A/.git/refs
FOUND: fpm_scratch_A/.git/branches
FOUND: fpm_scratch_A/.git/HEAD
FOUND: fpm_scratch_A/.git/objects
FOUND: fpm_scratch_A/.git/info
FOUND: fpm_scratch_A/.git/description
FOUND: fpm_scratch_A/.git/config
FOUND: fpm_scratch_A/.git/hooks/pre-receive.sample
FOUND: fpm_scratch_A/.git/hooks/applypatch-msg.sample
FOUND: fpm_scratch_A/.git/hooks/pre-commit.sample
FOUND: fpm_scratch_A/.git/hooks/pre-merge-commit.sample
FOUND: fpm_scratch_A/.git/hooks/post-update.sample
FOUND: fpm_scratch_A/.git/hooks/pre-applypatch.sample
FOUND: fpm_scratch_A/.git/hooks/prepare-commit-msg.sample
FOUND: fpm_scratch_A/.git/hooks/commit-msg.sample
FOUND: fpm_scratch_A/.git/hooks/pre-push.sample
FOUND: fpm_scratch_A/.git/hooks/push-to-checkout.sample
FOUND: fpm_scratch_A/.git/hooks/fsmonitor-watchman.sample
FOUND: fpm_scratch_A/.git/hooks/pre-rebase.sample
FOUND: fpm_scratch_A/.git/hooks/update.sample
FOUND: fpm_scratch_A/.git/refs/tags
FOUND: fpm_scratch_A/.git/refs/heads
FOUND: fpm_scratch_A/.git/objects/pack
FOUND: fpm_scratch_A/.git/objects/info
FOUND: fpm_scratch_A/.git/info/exclude
FOUND: fpm_scratch_A/src/fpm_scratch_A.f90
WARNING: unexpected number of files in file list= 31 expected 4
EXPECTED: fpm_scratch_B/fpm.toml
EXPECTED: fpm_scratch_B/README.md
EXPECTED: fpm_scratch_B/src
EXPECTED: fpm_scratch_B/src/fpm_scratch_B.f90
FOUND: fpm_scratch_B/README.md
FOUND: fpm_scratch_B/fpm.toml
FOUND: fpm_scratch_B/.git
FOUND: fpm_scratch_B/src
FOUND: fpm_scratch_B/.git/hooks
FOUND: fpm_scratch_B/.git/refs
FOUND: fpm_scratch_B/.git/branches
FOUND: fpm_scratch_B/.git/HEAD
FOUND: fpm_scratch_B/.git/objects
FOUND: fpm_scratch_B/.git/info
FOUND: fpm_scratch_B/.git/description
FOUND: fpm_scratch_B/.git/config
FOUND: fpm_scratch_B/.git/hooks/pre-receive.sample
FOUND: fpm_scratch_B/.git/hooks/applypatch-msg.sample
FOUND: fpm_scratch_B/.git/hooks/pre-commit.sample
FOUND: fpm_scratch_B/.git/hooks/pre-merge-commit.sample
FOUND: fpm_scratch_B/.git/hooks/post-update.sample
FOUND: fpm_scratch_B/.git/hooks/pre-applypatch.sample
FOUND: fpm_scratch_B/.git/hooks/prepare-commit-msg.sample
FOUND: fpm_scratch_B/.git/hooks/commit-msg.sample
FOUND: fpm_scratch_B/.git/hooks/pre-push.sample
FOUND: fpm_scratch_B/.git/hooks/push-to-checkout.sample
FOUND: fpm_scratch_B/.git/hooks/fsmonitor-watchman.sample
FOUND: fpm_scratch_B/.git/hooks/pre-rebase.sample
FOUND: fpm_scratch_B/.git/hooks/update.sample
FOUND: fpm_scratch_B/.git/refs/tags
FOUND: fpm_scratch_B/.git/refs/heads
FOUND: fpm_scratch_B/.git/objects/pack
FOUND: fpm_scratch_B/.git/objects/info
FOUND: fpm_scratch_B/.git/info/exclude
FOUND: fpm_scratch_B/src/fpm_scratch_B.f90
WARNING: unexpected number of files in file list= 31 expected 4
EXPECTED: fpm_scratch_C/app
EXPECTED: fpm_scratch_C/fpm.toml
EXPECTED: fpm_scratch_C/README.md
EXPECTED: fpm_scratch_C/app/main.f90
FOUND: fpm_scratch_C/app
FOUND: fpm_scratch_C/README.md
FOUND: fpm_scratch_C/fpm.toml
FOUND: fpm_scratch_C/.git
FOUND: fpm_scratch_C/app/main.f90
FOUND: fpm_scratch_C/.git/hooks
FOUND: fpm_scratch_C/.git/refs
FOUND: fpm_scratch_C/.git/branches
FOUND: fpm_scratch_C/.git/HEAD
FOUND: fpm_scratch_C/.git/objects
FOUND: fpm_scratch_C/.git/info
FOUND: fpm_scratch_C/.git/description
FOUND: fpm_scratch_C/.git/config
FOUND: fpm_scratch_C/.git/hooks/pre-receive.sample
FOUND: fpm_scratch_C/.git/hooks/applypatch-msg.sample
FOUND: fpm_scratch_C/.git/hooks/pre-commit.sample
FOUND: fpm_scratch_C/.git/hooks/pre-merge-commit.sample
FOUND: fpm_scratch_C/.git/hooks/post-update.sample
FOUND: fpm_scratch_C/.git/hooks/pre-applypatch.sample
FOUND: fpm_scratch_C/.git/hooks/prepare-commit-msg.sample
FOUND: fpm_scratch_C/.git/hooks/commit-msg.sample
FOUND: fpm_scratch_C/.git/hooks/pre-push.sample
FOUND: fpm_scratch_C/.git/hooks/push-to-checkout.sample
FOUND: fpm_scratch_C/.git/hooks/fsmonitor-watchman.sample
FOUND: fpm_scratch_C/.git/hooks/pre-rebase.sample
FOUND: fpm_scratch_C/.git/hooks/update.sample
FOUND: fpm_scratch_C/.git/refs/tags
FOUND: fpm_scratch_C/.git/refs/heads
FOUND: fpm_scratch_C/.git/objects/pack
FOUND: fpm_scratch_C/.git/objects/info
FOUND: fpm_scratch_C/.git/info/exclude
WARNING: unexpected number of files in file list= 31 expected 4
EXPECTED: fpm_scratch_D/fpm.toml
EXPECTED: fpm_scratch_D/README.md
EXPECTED: fpm_scratch_D/test
EXPECTED: fpm_scratch_D/test/check.f90
FOUND: fpm_scratch_D/test
FOUND: fpm_scratch_D/README.md
FOUND: fpm_scratch_D/fpm.toml
FOUND: fpm_scratch_D/.git
FOUND: fpm_scratch_D/test/check.f90
FOUND: fpm_scratch_D/.git/hooks
FOUND: fpm_scratch_D/.git/refs
FOUND: fpm_scratch_D/.git/branches
FOUND: fpm_scratch_D/.git/HEAD
FOUND: fpm_scratch_D/.git/objects
FOUND: fpm_scratch_D/.git/info
FOUND: fpm_scratch_D/.git/description
FOUND: fpm_scratch_D/.git/config
FOUND: fpm_scratch_D/.git/hooks/pre-receive.sample
FOUND: fpm_scratch_D/.git/hooks/applypatch-msg.sample
FOUND: fpm_scratch_D/.git/hooks/pre-commit.sample
FOUND: fpm_scratch_D/.git/hooks/pre-merge-commit.sample
FOUND: fpm_scratch_D/.git/hooks/post-update.sample
FOUND: fpm_scratch_D/.git/hooks/pre-applypatch.sample
FOUND: fpm_scratch_D/.git/hooks/prepare-commit-msg.sample
FOUND: fpm_scratch_D/.git/hooks/commit-msg.sample
FOUND: fpm_scratch_D/.git/hooks/pre-push.sample
FOUND: fpm_scratch_D/.git/hooks/push-to-checkout.sample
FOUND: fpm_scratch_D/.git/hooks/fsmonitor-watchman.sample
FOUND: fpm_scratch_D/.git/hooks/pre-rebase.sample
FOUND: fpm_scratch_D/.git/hooks/update.sample
FOUND: fpm_scratch_D/.git/refs/tags
FOUND: fpm_scratch_D/.git/refs/heads
FOUND: fpm_scratch_D/.git/objects/pack
FOUND: fpm_scratch_D/.git/objects/info
FOUND: fpm_scratch_D/.git/info/exclude
WARNING: unexpected number of files in file list= 33 expected 6
EXPECTED: fpm_scratch_E/fpm.toml
EXPECTED: fpm_scratch_E/README.md
EXPECTED: fpm_scratch_E/src
EXPECTED: fpm_scratch_E/test
EXPECTED: fpm_scratch_E/src/fpm_scratch_E.f90
EXPECTED: fpm_scratch_E/test/check.f90
FOUND: fpm_scratch_E/test
FOUND: fpm_scratch_E/README.md
FOUND: fpm_scratch_E/fpm.toml
FOUND: fpm_scratch_E/.git
FOUND: fpm_scratch_E/src
FOUND: fpm_scratch_E/test/check.f90
FOUND: fpm_scratch_E/.git/hooks
FOUND: fpm_scratch_E/.git/refs
FOUND: fpm_scratch_E/.git/branches
FOUND: fpm_scratch_E/.git/HEAD
FOUND: fpm_scratch_E/.git/objects
FOUND: fpm_scratch_E/.git/info
FOUND: fpm_scratch_E/.git/description
FOUND: fpm_scratch_E/.git/config
FOUND: fpm_scratch_E/.git/hooks/pre-receive.sample
FOUND: fpm_scratch_E/.git/hooks/applypatch-msg.sample
FOUND: fpm_scratch_E/.git/hooks/pre-commit.sample
FOUND: fpm_scratch_E/.git/hooks/pre-merge-commit.sample
FOUND: fpm_scratch_E/.git/hooks/post-update.sample
FOUND: fpm_scratch_E/.git/hooks/pre-applypatch.sample
FOUND: fpm_scratch_E/.git/hooks/prepare-commit-msg.sample
FOUND: fpm_scratch_E/.git/hooks/commit-msg.sample
FOUND: fpm_scratch_E/.git/hooks/pre-push.sample
FOUND: fpm_scratch_E/.git/hooks/push-to-checkout.sample
FOUND: fpm_scratch_E/.git/hooks/fsmonitor-watchman.sample
FOUND: fpm_scratch_E/.git/hooks/pre-rebase.sample
FOUND: fpm_scratch_E/.git/hooks/update.sample
FOUND: fpm_scratch_E/.git/refs/tags
FOUND: fpm_scratch_E/.git/refs/heads
FOUND: fpm_scratch_E/.git/objects/pack
FOUND: fpm_scratch_E/.git/objects/info
FOUND: fpm_scratch_E/.git/info/exclude
FOUND: fpm_scratch_E/src/fpm_scratch_E.f90
WARNING: unexpected number of files in file list= 33 expected 6
EXPECTED: fpm_scratch_F/app
EXPECTED: fpm_scratch_F/fpm.toml
EXPECTED: fpm_scratch_F/README.md
EXPECTED: fpm_scratch_F/src
EXPECTED: fpm_scratch_F/app/main.f90
EXPECTED: fpm_scratch_F/src/fpm_scratch_F.f90
FOUND: fpm_scratch_F/app
FOUND: fpm_scratch_F/README.md
FOUND: fpm_scratch_F/fpm.toml
FOUND: fpm_scratch_F/.git
FOUND: fpm_scratch_F/src
FOUND: fpm_scratch_F/app/main.f90
FOUND: fpm_scratch_F/.git/hooks
FOUND: fpm_scratch_F/.git/refs
FOUND: fpm_scratch_F/.git/branches
FOUND: fpm_scratch_F/.git/HEAD
FOUND: fpm_scratch_F/.git/objects
FOUND: fpm_scratch_F/.git/info
FOUND: fpm_scratch_F/.git/description
FOUND: fpm_scratch_F/.git/config
FOUND: fpm_scratch_F/.git/hooks/pre-receive.sample
FOUND: fpm_scratch_F/.git/hooks/applypatch-msg.sample
FOUND: fpm_scratch_F/.git/hooks/pre-commit.sample
FOUND: fpm_scratch_F/.git/hooks/pre-merge-commit.sample
FOUND: fpm_scratch_F/.git/hooks/post-update.sample
FOUND: fpm_scratch_F/.git/hooks/pre-applypatch.sample
FOUND: fpm_scratch_F/.git/hooks/prepare-commit-msg.sample
FOUND: fpm_scratch_F/.git/hooks/commit-msg.sample
FOUND: fpm_scratch_F/.git/hooks/pre-push.sample
FOUND: fpm_scratch_F/.git/hooks/push-to-checkout.sample
FOUND: fpm_scratch_F/.git/hooks/fsmonitor-watchman.sample
FOUND: fpm_scratch_F/.git/hooks/pre-rebase.sample
FOUND: fpm_scratch_F/.git/hooks/update.sample
FOUND: fpm_scratch_F/.git/refs/tags
FOUND: fpm_scratch_F/.git/refs/heads
FOUND: fpm_scratch_F/.git/objects/pack
FOUND: fpm_scratch_F/.git/objects/info
FOUND: fpm_scratch_F/.git/info/exclude
FOUND: fpm_scratch_F/src/fpm_scratch_F.f90
WARNING: unexpected number of files in file list= 33 expected 6
EXPECTED: fpm_scratch_G/app
EXPECTED: fpm_scratch_G/fpm.toml
EXPECTED: fpm_scratch_G/README.md
EXPECTED: fpm_scratch_G/test
EXPECTED: fpm_scratch_G/app/main.f90
EXPECTED: fpm_scratch_G/test/check.f90
FOUND: fpm_scratch_G/test
FOUND: fpm_scratch_G/app
FOUND: fpm_scratch_G/README.md
FOUND: fpm_scratch_G/fpm.toml
FOUND: fpm_scratch_G/.git
FOUND: fpm_scratch_G/test/check.f90
FOUND: fpm_scratch_G/app/main.f90
FOUND: fpm_scratch_G/.git/hooks
FOUND: fpm_scratch_G/.git/refs
FOUND: fpm_scratch_G/.git/branches
FOUND: fpm_scratch_G/.git/HEAD
FOUND: fpm_scratch_G/.git/objects
FOUND: fpm_scratch_G/.git/info
FOUND: fpm_scratch_G/.git/description
FOUND: fpm_scratch_G/.git/config
FOUND: fpm_scratch_G/.git/hooks/pre-receive.sample
FOUND: fpm_scratch_G/.git/hooks/applypatch-msg.sample
FOUND: fpm_scratch_G/.git/hooks/pre-commit.sample
FOUND: fpm_scratch_G/.git/hooks/pre-merge-commit.sample
FOUND: fpm_scratch_G/.git/hooks/post-update.sample
FOUND: fpm_scratch_G/.git/hooks/pre-applypatch.sample
FOUND: fpm_scratch_G/.git/hooks/prepare-commit-msg.sample
FOUND: fpm_scratch_G/.git/hooks/commit-msg.sample
FOUND: fpm_scratch_G/.git/hooks/pre-push.sample
FOUND: fpm_scratch_G/.git/hooks/push-to-checkout.sample
FOUND: fpm_scratch_G/.git/hooks/fsmonitor-watchman.sample
FOUND: fpm_scratch_G/.git/hooks/pre-rebase.sample
FOUND: fpm_scratch_G/.git/hooks/update.sample
FOUND: fpm_scratch_G/.git/refs/tags
FOUND: fpm_scratch_G/.git/refs/heads
FOUND: fpm_scratch_G/.git/objects/pack
FOUND: fpm_scratch_G/.git/objects/info
FOUND: fpm_scratch_G/.git/info/exclude
WARNING: unexpected number of files in file list= 31 expected 4
EXPECTED: fpm_scratch_H/example
EXPECTED: fpm_scratch_H/fpm.toml
EXPECTED: fpm_scratch_H/README.md
EXPECTED: fpm_scratch_H/example/demo.f90
FOUND: fpm_scratch_H/example
FOUND: fpm_scratch_H/README.md
FOUND: fpm_scratch_H/fpm.toml
FOUND: fpm_scratch_H/.git
FOUND: fpm_scratch_H/example/demo.f90
FOUND: fpm_scratch_H/.git/hooks
FOUND: fpm_scratch_H/.git/refs
FOUND: fpm_scratch_H/.git/branches
FOUND: fpm_scratch_H/.git/HEAD
FOUND: fpm_scratch_H/.git/objects
FOUND: fpm_scratch_H/.git/info
FOUND: fpm_scratch_H/.git/description
FOUND: fpm_scratch_H/.git/config
FOUND: fpm_scratch_H/.git/hooks/pre-receive.sample
FOUND: fpm_scratch_H/.git/hooks/applypatch-msg.sample
FOUND: fpm_scratch_H/.git/hooks/pre-commit.sample
FOUND: fpm_scratch_H/.git/hooks/pre-merge-commit.sample
FOUND: fpm_scratch_H/.git/hooks/post-update.sample
FOUND: fpm_scratch_H/.git/hooks/pre-applypatch.sample
FOUND: fpm_scratch_H/.git/hooks/prepare-commit-msg.sample
FOUND: fpm_scratch_H/.git/hooks/commit-msg.sample
FOUND: fpm_scratch_H/.git/hooks/pre-push.sample
FOUND: fpm_scratch_H/.git/hooks/push-to-checkout.sample
FOUND: fpm_scratch_H/.git/hooks/fsmonitor-watchman.sample
FOUND: fpm_scratch_H/.git/hooks/pre-rebase.sample
FOUND: fpm_scratch_H/.git/hooks/update.sample
FOUND: fpm_scratch_H/.git/refs/tags
FOUND: fpm_scratch_H/.git/refs/heads
FOUND: fpm_scratch_H/.git/objects/pack
FOUND: fpm_scratch_H/.git/objects/info
FOUND: fpm_scratch_H/.git/info/exclude
WARNING: unexpected number of files in file list= 33 expected 6
EXPECTED: fpm_scratch_BB/fpm.toml
EXPECTED: fpm_scratch_BB/README.md
EXPECTED: fpm_scratch_BB/src
EXPECTED: fpm_scratch_BB/test
EXPECTED: fpm_scratch_BB/src/fpm_scratch_BB.f90
EXPECTED: fpm_scratch_BB/test/check.f90
FOUND: fpm_scratch_BB/test
FOUND: fpm_scratch_BB/README.md
FOUND: fpm_scratch_BB/fpm.toml
FOUND: fpm_scratch_BB/.git
FOUND: fpm_scratch_BB/src
FOUND: fpm_scratch_BB/test/check.f90
FOUND: fpm_scratch_BB/.git/hooks
FOUND: fpm_scratch_BB/.git/refs
FOUND: fpm_scratch_BB/.git/branches
FOUND: fpm_scratch_BB/.git/HEAD
FOUND: fpm_scratch_BB/.git/objects
FOUND: fpm_scratch_BB/.git/info
FOUND: fpm_scratch_BB/.git/description
FOUND: fpm_scratch_BB/.git/config
FOUND: fpm_scratch_BB/.git/hooks/pre-receive.sample
FOUND: fpm_scratch_BB/.git/hooks/applypatch-msg.sample
FOUND: fpm_scratch_BB/.git/hooks/pre-commit.sample
FOUND: fpm_scratch_BB/.git/hooks/pre-merge-commit.sample
FOUND: fpm_scratch_BB/.git/hooks/post-update.sample
FOUND: fpm_scratch_BB/.git/hooks/pre-applypatch.sample
FOUND: fpm_scratch_BB/.git/hooks/prepare-commit-msg.sample
FOUND: fpm_scratch_BB/.git/hooks/commit-msg.sample
FOUND: fpm_scratch_BB/.git/hooks/pre-push.sample
FOUND: fpm_scratch_BB/.git/hooks/push-to-checkout.sample
FOUND: fpm_scratch_BB/.git/hooks/fsmonitor-watchman.sample
FOUND: fpm_scratch_BB/.git/hooks/pre-rebase.sample
FOUND: fpm_scratch_BB/.git/hooks/update.sample
FOUND: fpm_scratch_BB/.git/refs/tags
FOUND: fpm_scratch_BB/.git/refs/heads
FOUND: fpm_scratch_BB/.git/objects/pack
FOUND: fpm_scratch_BB/.git/objects/info
FOUND: fpm_scratch_BB/.git/info/exclude
FOUND: fpm_scratch_BB/src/fpm_scratch_BB.f90
WARNING: unexpected number of files in file list= 35 expected 8
EXPECTED: fpm_scratch_CC/app
EXPECTED: fpm_scratch_CC/fpm.toml
EXPECTED: fpm_scratch_CC/README.md
EXPECTED: fpm_scratch_CC/src
EXPECTED: fpm_scratch_CC/test
EXPECTED: fpm_scratch_CC/app/main.f90
EXPECTED: fpm_scratch_CC/src/fpm_scratch_CC.f90
EXPECTED: fpm_scratch_CC/test/check.f90
FOUND: fpm_scratch_CC/test
FOUND: fpm_scratch_CC/app
FOUND: fpm_scratch_CC/README.md
FOUND: fpm_scratch_CC/fpm.toml
FOUND: fpm_scratch_CC/.git
FOUND: fpm_scratch_CC/src
FOUND: fpm_scratch_CC/test/check.f90
FOUND: fpm_scratch_CC/app/main.f90
FOUND: fpm_scratch_CC/.git/hooks
FOUND: fpm_scratch_CC/.git/refs
FOUND: fpm_scratch_CC/.git/branches
FOUND: fpm_scratch_CC/.git/HEAD
FOUND: fpm_scratch_CC/.git/objects
FOUND: fpm_scratch_CC/.git/info
FOUND: fpm_scratch_CC/.git/description
FOUND: fpm_scratch_CC/.git/config
FOUND: fpm_scratch_CC/.git/hooks/pre-receive.sample
FOUND: fpm_scratch_CC/.git/hooks/applypatch-msg.sample
FOUND: fpm_scratch_CC/.git/hooks/pre-commit.sample
FOUND: fpm_scratch_CC/.git/hooks/pre-merge-commit.sample
FOUND: fpm_scratch_CC/.git/hooks/post-update.sample
FOUND: fpm_scratch_CC/.git/hooks/pre-applypatch.sample
FOUND: fpm_scratch_CC/.git/hooks/prepare-commit-msg.sample
FOUND: fpm_scratch_CC/.git/hooks/commit-msg.sample
FOUND: fpm_scratch_CC/.git/hooks/pre-push.sample
FOUND: fpm_scratch_CC/.git/hooks/push-to-checkout.sample
FOUND: fpm_scratch_CC/.git/hooks/fsmonitor-watchman.sample
FOUND: fpm_scratch_CC/.git/hooks/pre-rebase.sample
FOUND: fpm_scratch_CC/.git/hooks/update.sample
FOUND: fpm_scratch_CC/.git/refs/tags
FOUND: fpm_scratch_CC/.git/refs/heads
FOUND: fpm_scratch_CC/.git/objects/pack
FOUND: fpm_scratch_CC/.git/objects/info
FOUND: fpm_scratch_CC/.git/info/exclude
FOUND: fpm_scratch_CC/src/fpm_scratch_CC.f90
new TEST TALLY=TTTTTTTTTTT
PASSED: all 11 tests passed
start tests of the CLI command line parser
command= build/lfortran_B32920A010424AF1/test/cli-test
START: TEST 1 CMD=new
arguments seen directly by program
1[new]
<USAGE> fpm new NAME [[--lib|--src] [--app] [--test] [--example]]|[--full|--bare] [--backfill]
<ERROR> directory name required
STOP 1
PASSED: TEST 1 EXPECTED BAD STATUS: expected 0 1 actual 0 1 for [new]
START: TEST 2 CMD=new my_project another yet_another -test
arguments seen directly by program
1[new]
2[my_project]
3[another]
4[yet_another]
5[-test]
<USAGE> fpm new NAME [[--lib|--src] [--app] [--test] [--example]]| [--full|--bare] [--backfill]
<ERROR> only one directory name allowed
STOP 2
PASSED: TEST 2 EXPECTED BAD STATUS: expected 0 2 actual 0 2 for [new my_project another yet_another -test]
START: TEST 3 CMD=new my_project --app
arguments seen directly by program
1[new]
2[my_project]
3[--app]
FAILED: TEST 3 STATUS: expected 0 0 actual 0 0 for [new my_project --app]
This file was compiled by LFortran version 0.59.0-237-g337e95c5e using the options -c --cpp --cpp --realloc-lhs-arrays --use-loop-variable-after-loop -DFPM_RELEASE_VERSION=0.12.0 -Ibuild/dependencies/fortran-regex/src -J build/lfortran_29F2E0FA2D75FE0A -Ibuild/lfortran_29F2E0FA2D75FE0A -Ibuild/lfortran_5D5DD1C987059777 -o build/lfortran_29F2E0FA2D75FE0A/fpm/test_cli_test_cli_test.f90.o
&act_cli
act_name='my_project ','act_w_e ','= ','.true. ','act_w_t ','= ','.false. ','act_c_s ','= ','.false. '
act_w_e=.false.
act_w_t=.false.
act_c_s=.false.
act_c_a=.false.
act_reg_c=.false.
act_show_v=.false.
act_show_u_d=.false.
act_dry_run=.false.
act_token=''
act_profile=''
act_args=' '
/
START: TEST 4 CMD=new my_project --app --test
arguments seen directly by program
1[new]
2[my_project]
3[--app]
4[--test]
FAILED: TEST 4 STATUS: expected 0 0 actual 0 0 for [new my_project --app --test]
This file was compiled by LFortran version 0.59.0-237-g337e95c5e using the options -c --cpp --cpp --realloc-lhs-arrays --use-loop-variable-after-loop -DFPM_RELEASE_VERSION=0.12.0 -Ibuild/dependencies/fortran-regex/src -J build/lfortran_29F2E0FA2D75FE0A -Ibuild/lfortran_29F2E0FA2D75FE0A -Ibuild/lfortran_5D5DD1C987059777 -o build/lfortran_29F2E0FA2D75FE0A/fpm/test_cli_test_cli_test.f90.o
&act_cli
act_name='my_project ','act_w_e ','= ','.true. ','act_w_t ','= ','.true. ','act_c_s ','= ','.false. '
act_w_e=.false.
act_w_t=.false.
act_c_s=.false.
act_c_a=.false.
act_reg_c=.false.
act_show_v=.false.
act_show_u_d=.false.
act_dry_run=.false.
act_token=''
act_profile=''
act_args=' '
/
START: TEST 5 CMD=new my_project --test
arguments seen directly by program
1[new]
2[my_project]
3[--test]
FAILED: TEST 5 STATUS: expected 0 0 actual 0 0 for [new my_project --test]
This file was compiled by LFortran version 0.59.0-237-g337e95c5e using the options -c --cpp --cpp --realloc-lhs-arrays --use-loop-variable-after-loop -DFPM_RELEASE_VERSION=0.12.0 -Ibuild/dependencies/fortran-regex/src -J build/lfortran_29F2E0FA2D75FE0A -Ibuild/lfortran_29F2E0FA2D75FE0A -Ibuild/lfortran_5D5DD1C987059777 -o build/lfortran_29F2E0FA2D75FE0A/fpm/test_cli_test_cli_test.f90.o
&act_cli
act_name='my_project ','act_w_e ','= ','.false. ','act_w_t ','= ','.true. ','act_c_s ','= ','.false. '
act_w_e=.false.
act_w_t=.false.
act_c_s=.false.
act_c_a=.false.
act_reg_c=.false.
act_show_v=.false.
act_show_u_d=.false.
act_dry_run=.false.
act_token=''
act_profile=''
act_args=' '
/
START: TEST 6 CMD=new my_project
arguments seen directly by program
1[new]
2[my_project]
FAILED: TEST 6 STATUS: expected 0 0 actual 0 0 for [new my_project]
This file was compiled by LFortran version 0.59.0-237-g337e95c5e using the options -c --cpp --cpp --realloc-lhs-arrays --use-loop-variable-after-loop -DFPM_RELEASE_VERSION=0.12.0 -Ibuild/dependencies/fortran-regex/src -J build/lfortran_29F2E0FA2D75FE0A -Ibuild/lfortran_29F2E0FA2D75FE0A -Ibuild/lfortran_5D5DD1C987059777 -o build/lfortran_29F2E0FA2D75FE0A/fpm/test_cli_test_cli_test.f90.o
&act_cli
act_name='my_project ','act_w_e ','= ','.true. ','act_w_t ','= ','.true. ','act_c_s ','= ','.false. '
act_w_e=.false.
act_w_t=.false.
act_c_s=.false.
act_c_a=.false.
act_reg_c=.false.
act_show_v=.false.
act_show_u_d=.false.
act_dry_run=.false.
act_token=''
act_profile=''
act_args=' '
/
START: TEST 7 CMD=run
arguments seen directly by program
1[run]
PASSED: TEST 7 STATUS: expected 0 0 actual 0 0 for [run]
START: TEST 8 CMD=run my_project
arguments seen directly by program
1[run]
2[my_project]
Segmentation fault (core dumped)
FAILED: TEST 8BAD STATUS: expected 0 0 actual 0 139 for [run my_project]
START: TEST 9 CMD=run proj1 p2 project3
arguments seen directly by program
1[run]
2[proj1]
3[p2]
4[project3]
Segmentation fault (core dumped)
FAILED: TEST 9BAD STATUS: expected 0 0 actual 0 139 for [run proj1 p2 project3]
START: TEST 10 CMD=run proj1 p2 project3 --profile debug
arguments seen directly by program
1[run]
2[proj1]
3[p2]
4[project3]
5[--profile]
6[debug]
Segmentation fault (core dumped)
FAILED: TEST 10BAD STATUS: expected 0 0 actual 0 139 for [run proj1 p2 project3 --profile debug]
START: TEST 11 CMD=run proj1 p2 project3 --profile release
arguments seen directly by program
1[run]
2[proj1]
3[p2]
4[project3]
5[--profile]
6[release]
Segmentation fault (core dumped)
FAILED: TEST 11BAD STATUS: expected 0 0 actual 0 139 for [run proj1 p2 project3 --profile release]
Runtime Error: Unknown variable 'and a long one' in namelist
# Testing: fpm_toml
# Starting valid-toml ... (1/30)
# ... valid-toml [PASSED]
# Starting invalid-toml ... (2/30)
# ... invalid-toml [EXPECTED FAIL]
# Message: error: Key 'dependencies' already exists
--> fpm-invalid-toml.toml:4:2-13
|
3 | dependencies.fpm.git = "https://github.com/fortran-lang/fpm"
| ------------ first defined here
4 | [dependencies]
| ^^^^^^^^^^^^ key already used
|
# Starting missing-file ... (3/30)
# ... missing-file [EXPECTED FAIL]
# Message: 'low+chance+of+existing.toml' could not be found, check if the file exists
# Starting serialize-git-target ... (4/30)
# ... serialize-git-target [PASSED]
# Starting serialize-git-invalid ... (5/30)
# ... serialize-git-invalid [EXPECTED FAIL]
# Message: invalid descriptor ID <> in TOML entry
# Starting serialize-dependency-config ... (6/30)
# ... serialize-dependency-config [PASSED]
# Starting serialize-dependency-node ... (7/30)
# ... serialize-dependency-node [PASSED]
# Starting serialize-dependency-invalid ... (8/30)
# ... serialize-dependency-invalid [EXPECTED FAIL]
# Message: dependency_node_t: version error from TOML table - Invalid character in version number
| h0.2.0
|-^
# Starting serialize-dependency-invalid2 ... (9/30)
# ... serialize-dependency-invalid2 [EXPECTED FAIL]
# Message: dependency_node_t: cannot get logical key <done> from TOML table
# Starting serialize-dependency-tree ... (10/30)
# ... serialize-dependency-tree [PASSED]
# Starting serialize-dependency-tree-invalid ... (11/30)
# ... serialize-dependency-tree-invalid [EXPECTED FAIL]
# Message: dependency_tree_t: cannot get integer key <verbosity> from TOML table
# Starting serialize-dependency-tree-invalid2 ... (12/30)
# ... serialize-dependency-tree-invalid2 [EXPECTED FAIL]
# Message: dependency_tree_t: cannot get integer key <unit> from TOML table
# Starting serialize-install-config ... (13/30)
# ... serialize-install-config [PASSED]
# Starting serialize-fortran-config ... (14/30)
# ... serialize-fortran-config [PASSED]
# Starting serialize-library-config ... (15/30)
# ... serialize-library-config [PASSED]
# Starting serialize-executable-config ... (16/30)
# ... serialize-executable-config [PASSED]
# Starting serialize-preprocess-config ... (17/30)
# ... serialize-preprocess-config [PASSED]
# Starting serialize-file-scope-flag ... (18/30)
# ... serialize-file-scope-flag [PASSED]
# Starting serialize-string-array ... (19/30)
# ... serialize-string-array [PASSED]
# Starting serialize-fortran-features ... (20/30)
# ... serialize-fortran-features [PASSED]
# Starting serialize-fortran-invalid ... (21/30)
# ... serialize-fortran-invalid [EXPECTED FAIL]
# Message: fortran_features_t: cannot get logical key <implicit-external> from TOML table
# Starting serialize-package ... (22/30)
# ... serialize-package [PASSED]
# Starting serialize-package-invalid ... (23/30)
# ... serialize-package-invalid [EXPECTED FAIL]
# Message: package_t: cannot get logical key <module-naming> from TOML table
# Starting serialize-srcfile-invalid ... (24/30)
# ... serialize-srcfile-invalid [EXPECTED FAIL]
# Message: srcfile_t: cannot get integer(int64) key <digest> from TOML table
# Starting serialize-archiver ... (25/30)
# ... serialize-archiver [PASSED]
# Starting serialize-archiver-invalid ... (26/30)
# ... serialize-archiver-invalid [EXPECTED FAIL]
# Message: archiver_t: cannot get logical key <echo> from TOML table
# Starting serialize-compiler ... (27/30)
# ... serialize-compiler [PASSED]
# Starting serialize-compiler-invalid ... (28/30)
# ... serialize-compiler-invalid [EXPECTED FAIL]
# Message: compiler_t: cannot get integer key <id> from TOML table
# Starting serialize-model ... (29/30)
# ... serialize-model [PASSED]
# Starting serialize-model-invalid ... (30/30)
# ... serialize-model-invalid [EXPECTED FAIL]
# Message: fpm_model_t: cannot get logical key <include-tests> from TOML table
# Testing: fpm_manifest
# Starting valid-manifest ... (1/53)
# ... valid-manifest [PASSED]
# Starting invalid-manifest ... (2/53)
# ... invalid-manifest [EXPECTED FAIL]
# Message: Key package is not allowed in package file
# Starting default-library ... (3/53)
# ... default-library [PASSED]
# Starting default-executable ... (4/53)
# ... default-executable [PASSED]
# Starting dependency-empty ... (5/53)
# ... dependency-empty [EXPECTED FAIL]
# Message: Dependency 'example' does not provide sufficient entries
# Starting dependency-pathtag ... (6/53)
# ... dependency-pathtag [EXPECTED FAIL]
# Message: Dependency 'example' has git identifier but no git url
# Starting dependency-gitpath ... (7/53)
# ... dependency-gitpath [EXPECTED FAIL]
# Message: Dependency 'example' cannot have both git and path entries
# Starting dependency-nourl ... (8/53)
# ... dependency-nourl [EXPECTED FAIL]
# Message: Dependency 'example' has git identifier but no git url
# Starting dependency-gitconflict ... (9/53)
# ... dependency-gitconflict [EXPECTED FAIL]
# Message: Dependency 'example' can only have one of branch, rev or tag present
# Starting dependency-invalid-git ... (10/53)
# ... dependency-invalid-git [EXPECTED FAIL]
# Message: 'example' has an invalid 'git' entry.
# Starting dependency-no-namespace ... (11/53)
# ... dependency-no-namespace [EXPECTED FAIL]
# Message: Please provide a 'namespace' for dependency 'example' if it is not a local path or git repository
# Starting dependency-redundant-v ... (12/53)
# ... dependency-redundant-v [EXPECTED FAIL]
# Message: Dependency 'example' cannot have both v and git/path entries
# Starting dependency-wrongkey ... (13/53)
# ... dependency-wrongkey [EXPECTED FAIL]
# Message: Key 'not-available' not allowed in the 'example' table.
Valid keys:
namespace
v
path
git
tag
branch
rev
preprocess
# Starting dependencies-empty ... (14/53)
# ... dependencies-empty [PASSED]
# Starting dependencies-typeerror ... (15/53)
# ... dependencies-typeerror [EXPECTED FAIL]
# Message: Dependency dep1 is not a valid metapackage or a table entry
# Starting profiles ... (16/53)
# ... profiles [PASSED]
# Starting profiles-keyvalue-table ... (17/53)
# ... profiles-keyvalue-table [EXPECTED FAIL]
# Message: flags has to be a key-value pair
# Starting executable-empty ... (18/53)
# ... executable-empty [EXPECTED FAIL]
# Message: Executable section does not provide sufficient entries
# Starting executable-typeerror ... (19/53)
# ... executable-typeerror [EXPECTED FAIL]
# Message: Could not retrieve executable name
# Starting executable-noname ... (20/53)
# ... executable-noname [EXPECTED FAIL]
# Message: Executable name is not provided, please add a name entry
# Starting executable-wrongkey ... (21/53)
# ... executable-wrongkey [EXPECTED FAIL]
# Message: Key wrong-field is not allowed as executable entry
# Starting build-config-valid ... (22/53)
# ... build-config-valid [PASSED]
# Starting build-config-empty ... (23/53)
# ... build-config-empty [PASSED]
# Starting build-config-invalid-values ... (24/53)
# ... build-config-invalid-values [EXPECTED FAIL]
# Message: Error while reading value for 'auto-executables' in fpm.toml, expecting logical
# Starting build-key-invalid ... (25/53)
# ... build-key-invalid [PASSED]
# Starting library-empty ... (26/53)
# ... library-empty [PASSED]
# Starting library-wrongkey ... (27/53)
# ... library-wrongkey [EXPECTED FAIL]
# Message: Key not-allowed is not allowed in library
# Starting library-list ... (28/53)
# ... library-list [EXPECTED FAIL]
# Message: Manifest key [library.source-dir] does not allow list input
# Starting package-simple ... (29/53)
# ... package-simple [PASSED]
# Starting package-empty ... (30/53)
# ... package-empty [EXPECTED FAIL]
# Message: Package file is empty
# Starting package-typeerror ... (31/53)
# ... package-typeerror [EXPECTED FAIL]
# Message: Could not retrieve package name
# Starting package-noname ... (32/53)
# ... package-noname [EXPECTED FAIL]
# Message: Package name is not provided, please add a name entry
# Starting package-wrongexe ... (33/53)
# ... package-wrongexe [EXPECTED FAIL]
# Message: Could not retrieve executable from array entry
# Starting package-wrongtest ... (34/53)
# ... package-wrongtest [EXPECTED FAIL]
# Message: Could not retrieve test from array entry
# Starting package-duplicate ... (35/53)
# ... package-duplicate [EXPECTED FAIL]
# Message: The program named 'prog' is duplicated. Unique program names are required.
# Starting test-simple ... (36/53)
# ... test-simple [PASSED]
# Starting test-empty ... (37/53)
# ... test-empty [EXPECTED FAIL]
# Message: Test section does not provide sufficient entries
# Starting test-typeerror ... (38/53)
# ... test-typeerror [EXPECTED FAIL]
# Message: Could not retrieve test name
# Starting test-noname ... (39/53)
# ... test-noname [EXPECTED FAIL]
# Message: Test name is not provided, please add a name entry
# Starting test-wrongkey ... (40/53)
# ... test-wrongkey [EXPECTED FAIL]
# Message: Key not-supported is not allowed in test entry
# Starting link-string ... (41/53)
# ... link-string [PASSED]
# Starting link-array ... (42/53)
# ... link-array [PASSED]
# Starting link-error ... (43/53)
# ... link-error [EXPECTED FAIL]
# Message: Entry in link field cannot be read
# Starting example-simple ... (44/53)
# ... example-simple [PASSED]
# Starting example-empty ... (45/53)
# ... example-empty [EXPECTED FAIL]
# Message: Example section does not provide sufficient entries
# Starting install-library ... (46/53)
# ... install-library [PASSED]
# Starting install-empty ... (47/53)
# ... install-empty [PASSED]
# Starting install-wrongkey ... (48/53)
# ... install-wrongkey [EXPECTED FAIL]
# Message: Key prefix is not allowed in install table
# Starting preprocess-empty ... (49/53)
# ... preprocess-empty [PASSED]
# Starting preprocess-wrongkey ... (50/53)
# ... preprocess-wrongkey [EXPECTED FAIL]
# Message: Key 'wrong-field' not allowed in preprocessor 'example'.
# Starting preprocessors-empty ... (51/53)
# ... preprocessors-empty [EXPECTED FAIL]
# Message: No preprocessors defined
# Starting macro-parsing ... (52/53)
# ... macro-parsing [PASSED]
# Starting macro-parsing-dependency ... (53/53)
# ... macro-parsing-dependency [PASSED]
# Testing: fpm_filesystem
# Starting canon-path ... (1/6)
# ... canon-path [PASSED]
# Starting create-delete-directory ... (2/6)
+ mkdir -p tmpdir/subdir
+ rm -rf tmpdir
# ... create-delete-directory [PASSED]
# Starting test-is-absolute-path ... (3/6)
# ... test-is-absolute-path [PASSED]
# Starting test-get-home ... (4/6)
# ... test-get-home [PASSED]
# Starting test-split-lines-first-last ... (5/6)
# ... test-split-lines-first-last [PASSED]
# Starting test-crlf-lines ... (6/6)
# ... test-crlf-lines [PASSED]
# Testing: fpm_source_parsing
# Starting modules-used ... (1/23)
# ... modules-used [PASSED]
# Starting intrinsic-modules-used ... (2/23)
# ... intrinsic-modules-used [PASSED]
# Starting nonintrinsic-modules-used ... (3/23)
# ... nonintrinsic-modules-used [PASSED]
# Starting include-stmt ... (4/23)
# ... include-stmt [PASSED]
# Starting program ... (5/23)
# ... program [PASSED]
# Starting program-noheader ... (6/23)
# ... program-noheader [PASSED]
# Starting program-noheader-2 ... (7/23)
# ... program-noheader-2 [PASSED]
# Starting module ... (8/23)
# ... module [PASSED]
# Starting module-with-subprogram ... (9/23)
# ... module-with-subprogram [PASSED]
# Starting module-with-c-api ... (10/23)
# ... module-with-c-api [PASSED]
# Starting module-with-abstract-interface ... (11/23)
# ... module-with-abstract-interface [PASSED]
# Starting module-end-stmt ... (12/23)
# ... module-end-stmt [PASSED]
# Starting program-with-module ... (13/23)
# ... program-with-module [PASSED]
# Starting program-with-abstract-interface ... (14/23)
# ... program-with-abstract-interface [PASSED]
# Starting submodule ... (15/23)
# ... submodule [PASSED]
# Starting submodule-ancestor ... (16/23)
# ... submodule-ancestor [PASSED]
# Starting subprogram ... (17/23)
# ... subprogram [PASSED]
# Starting csource ... (18/23)
# ... csource [PASSED]
# Starting invalid-use-stmt ... (19/23)
# ... invalid-use-stmt [EXPECTED FAIL]
# Message: Parse error: unable to find used module name
/tmp/fileGtbQbW:3:5
| use ::
| ^
# Starting invalid-include-stmt ... (20/23)
# ... invalid-include-stmt [EXPECTED FAIL]
# Message: Parse error: unable to find include file name
/tmp/fileiVnwms:2
| include "
# Starting invalid-module ... (21/23)
# ... invalid-module [EXPECTED FAIL]
# Message: Parse error: empty or invalid name for module
/tmp/fileRJTC9b:1:8
| module ::my_mod
| ^
# Starting invalid-submodule ... (22/23)
# ... invalid-submodule [EXPECTED FAIL]
# Message: Parse error: unable to get submodule name
/tmp/filetdcmkS:1
| submodule :: child
# Starting use-statement ... (23/23)
# ... use-statement [PASSED]
# Testing: fpm_module_dependencies
# Starting library-module-use ... (1/21)
# ... library-module-use [PASSED]
# Starting program-module-use ... (2/21)
# ... program-module-use [PASSED]
# Starting program-with-module ... (3/21)
# ... program-with-module [PASSED]
# Starting program-own-module-use ... (4/21)
# ... program-own-module-use [PASSED]
# Starting missing-library-use ... (5/21)
# ... missing-library-use [EXPECTED FAIL]
# Message: Unable to find source for module dependency: "my_mod_3" used by "src/my_mod_2.f90"
# Starting missing-program-use ... (6/21)
# ... missing-program-use [EXPECTED FAIL]
# Message: Unable to find source for module dependency: "my_mod_2" used by "app/my_program.f90"
# Starting invalid-library-use ... (7/21)
# ... invalid-library-use [EXPECTED FAIL]
# Message: Unable to find source for module dependency: "app_mod" used by "src/my_mod.f90"
# Starting package-with-no-duplicates ... (8/21)
# ... package-with-no-duplicates [PASSED]
# Starting package-with-duplicates-in-same-source ... (9/21)
Warning: Module my_mod_1 in src/my_mod_1.f90 is a duplicate
# ... package-with-duplicates-in-same-source [EXPECTED FAIL]
# Message: Duplicate modules found
# Starting package-with-duplicates-in-one-package ... (10/21)
Warning: Module my_mod_1 in src/my_mod_1_b.f90 is a duplicate
# ... package-with-duplicates-in-one-package [EXPECTED FAIL]
# Message: Duplicate modules found
# Starting package-with-duplicates-in-two-packages ... (11/21)
Warning: Module my_mod_1 in src/subdir2/my_mod_1.f90 is a duplicate
# ... package-with-duplicates-in-two-packages [EXPECTED FAIL]
# Message: Duplicate modules found
# Starting subdirectory-module-use ... (12/21)
# ... subdirectory-module-use [PASSED]
# Starting invalid-subdirectory-module-use ... (13/21)
# ... invalid-subdirectory-module-use [EXPECTED FAIL]
# Message: Unable to find source for module dependency: "app_mod" used by "app/prog_dir/my_program.f90"
# Starting tree-shake-module ... (14/21)
# ... tree-shake-module [PASSED]
# Starting tree-shake-subprogram-with-module ... (15/21)
# ... tree-shake-subprogram-with-module [PASSED]
# Starting valid-enforced-module-names ... (16/21)
# ... valid-enforced-module-names [PASSED]
# Starting valid-enforced-module-names-dashed ... (17/21)
# ... valid-enforced-module-names-dashed [PASSED]
# Starting invalid-enforced-module-names ... (18/21)
# ... invalid-enforced-module-names [PASSED]
# Starting invalid-module-names ... (19/21)
# ... invalid-module-names [PASSED]
# Starting custom-module-prefixes ... (20/21)
# ... custom-module-prefixes [PASSED]
# Starting custom-prefixed-module-names ... (21/21)
# ... custom-prefixed-module-names [PASSED]
# Testing: fpm_package_dependencies
# Starting cache-load-dump ... (1/37)
# ... cache-load-dump [PASSED]
# Starting cache-dump-load ... (2/37)
# ... cache-dump-load [PASSED]
# Starting status-after-load ... (3/37)
# ... status-after-load [PASSED]
# Starting add-dependencies ... (4/37)
# ... add-dependencies [PASSED]
# Starting update-dependencies ... (5/37)
# Dependency change detected: dep1
# Dependency change detected: dep2
# Dependency change detected: dep3
# ... update-dependencies [PASSED]
# Starting metapackage-override ... (6/37)
# ... metapackage-override [PASSED]
# Starting do-not-update-dependencies ... (7/37)
# Dependency change detected: dep1
# Dependency change detected: dep2
# ... do-not-update-dependencies [PASSED]
# Starting registry-dir-not-found ... (8/37)
+ mkdir -p tmp/cache
+ rm -rf tmp
# ... registry-dir-not-found [EXPECTED FAIL]
# Message: Dependency resolution of 'test-dep': Directory '/home/ondrej/repos/fpm/tmp/cache/test-org/test-dep' doesn't exist.
# Starting no-versions-in-registry ... (9/37)
+ mkdir -p tmp/cache/test-org/test-dep
+ rm -rf tmp
# ... no-versions-in-registry [EXPECTED FAIL]
# Message: No versions of 'test-dep' found in '/home/ondrej/repos/fpm/tmp/cache/test-org/test-dep'.
# Starting local-registry-specified-version-not-found ... (10/37)
+ mkdir -p tmp/cache/test-org/test-dep/0.0.9
+ mkdir -p tmp/cache/test-org/test-dep/0.1.1
+ rm -rf tmp
# ... local-registry-specified-version-not-found [EXPECTED FAIL]
# Message: Version '0.1.0' not found in '/home/ondrej/repos/fpm/tmp/cache/test-org/test-dep'
# Starting local-registry-specified-no-manifest ... (11/37)
+ mkdir -p tmp/cache/test-org/test-dep/0.0.9
+ mkdir -p tmp/cache/test-org/test-dep/0.1.0
+ mkdir -p tmp/cache/test-org/test-dep/0.1.1
+ rm -rf tmp
# ... local-registry-specified-no-manifest [EXPECTED FAIL]
# Message: '/home/ondrej/repos/fpm/tmp/cache/test-org/test-dep/0.1.0' is missing an 'fpm.toml' file.
# Starting local-registry-specified-has-manifest ... (12/37)
+ mkdir -p tmp/cache/test-org/test-dep/0.0.0
+ mkdir -p tmp/cache/test-org/test-dep/0.1.0
+ mkdir -p tmp/cache/test-org/test-dep/0.2.0
+ rm -rf tmp
# ... local-registry-specified-has-manifest [PASSED]
# Starting local-registry-specified-not-a-dir ... (13/37)
+ mkdir -p tmp/cache/test-org/test-dep
+ rm -rf tmp
# ... local-registry-specified-not-a-dir [EXPECTED FAIL]
# Message: No versions found in '/home/ondrej/repos/fpm/tmp/cache/test-org/test-dep'
# Starting local-registry-unspecified-no-versions ... (14/37)
+ mkdir -p tmp/cache/test-org/test-dep
+ rm -rf tmp
# ... local-registry-unspecified-no-versions [EXPECTED FAIL]
# Message: No versions of 'test-dep' found in '/home/ondrej/repos/fpm/tmp/cache/test-org/test-dep'.
# Starting local-registry-unspecified-no-manifest ... (15/37)
+ mkdir -p tmp/cache/test-org/test-dep/0.0.0
+ mkdir -p tmp/cache/test-org/test-dep/1.3.0
+ mkdir -p tmp/cache/test-org/test-dep/1.2.1
+ rm -rf tmp
# ... local-registry-unspecified-no-manifest [EXPECTED FAIL]
# Message: '/home/ondrej/repos/fpm/tmp/cache/test-org/test-dep/1.3.0' is missing an 'fpm.toml' file.
# Starting local-registry-unspecified-has-manifest ... (16/37)
+ mkdir -p tmp/cache/test-org/test-dep/0.0.0
+ mkdir -p tmp/cache/test-org/test-dep/1.3.0
+ mkdir -p tmp/cache/test-org/test-dep/1.2.1
+ rm -rf tmp
# ... local-registry-unspecified-has-manifest [PASSED]
# Starting cache-specified-version-found ... (17/37)
+ mkdir -p tmp/dependencies/test-org/test-dep/2.3.0
Using cached version of ' test-org/test-dep/2.3.0 '.
+ rm -rf tmp
# ... cache-specified-version-found [PASSED]
# Starting specified-version-not-found-in-cache ... (18/37)
+ mkdir -p tmp
+ mkdir -p /home/ondrej/repos/fpm/tmp/dependencies/test-org/test-dep/0.1.0
+ rm -rf tmp
# ... specified-version-not-found-in-cache [PASSED]
# Starting registry-specified-version-not-exists ... (19/37)
+ mkdir -p tmp
+ rm -rf tmp
# ... registry-specified-version-not-exists [EXPECTED FAIL]
# Message: Failed to download 'test-org/test-dep'. Status code: '404'. Error message: 'Package not found'.
# Starting registry-specified-version-other-versions-exist ... (20/37)
+ mkdir -p tmp/dependencies/test-org/test-dep/2.1.0
+ mkdir -p tmp/dependencies/test-org/test-dep/9.1.0
+ mkdir -p /home/ondrej/repos/fpm/tmp/dependencies/test-org/test-dep/0.1.0
+ rm -rf tmp
# ... registry-specified-version-other-versions-exist [PASSED]
# Starting registry-unspecified-version ... (21/37)
+ mkdir -p tmp
+ mkdir -p /home/ondrej/repos/fpm/tmp/dependencies/test-org/test-dep/0.1.0
+ rm -rf tmp
# ... registry-unspecified-version [PASSED]
# Starting registry-unspecified-version_exists_in_cache ... (22/37)
+ mkdir -p tmp/cache/test-org/test-dep/0.0.0
+ mkdir -p tmp/cache/test-org/test-dep/0.1.0
+ mkdir -p tmp/cache/test-org/test-dep/1.2.1
+ mkdir -p /home/ondrej/repos/fpm/tmp/dependencies/test-org/test-dep/0.1.0
+ rm -rf tmp
# ... registry-unspecified-version_exists_in_cache [PASSED]
# Starting pkg-data-no-code ... (23/37)
# ... pkg-data-no-code [EXPECTED FAIL]
# Message: Failed to download 'UNNAMED_NODE': No status code.
# Starting pkg-data-corrupt-code ... (24/37)
# ... pkg-data-corrupt-code [EXPECTED FAIL]
# Message: Failed to download 'UNNAMED_NODE': Failed to read status code.
# Starting pkg-data-missing-error-message ... (25/37)
# ... pkg-data-missing-error-message [EXPECTED FAIL]
# Message: Failed to download 'UNNAMED_NODE': No error message.
# Starting pkg-data-error-reading-message ... (26/37)
# ... pkg-data-error-reading-message [EXPECTED FAIL]
# Message: Failed to download 'UNNAMED_NODE': Failed to read error message.
# Starting pkg-data-error-has-message ... (27/37)
# ... pkg-data-error-has-message [EXPECTED FAIL]
# Message: Failed to download 'UNNAMED_NODE'. Status code: '123'. Error message: 'Really bad error message'.
# Starting pkg-data-error-no-data ... (28/37)
# ... pkg-data-error-no-data [EXPECTED FAIL]
# Message: Failed to download 'UNNAMED_NODE': No data.
# Starting pkg-data-error-reading-data ... (29/37)
# ... pkg-data-error-reading-data [EXPECTED FAIL]
# Message: Failed to read package data for 'UNNAMED_NODE'.
# Starting pkg-data-requested-version-wrong-key ... (30/37)
# ... pkg-data-requested-version-wrong-key [EXPECTED FAIL]
# Message: Failed to download 'UNNAMED_NODE': No version data.
# Starting pkg-data-no-version-requested-wrong-key ... (31/37)
# ... pkg-data-no-version-requested-wrong-key [EXPECTED FAIL]
# Message: Failed to download 'UNNAMED_NODE': No version data.
# Starting pkg-data-error-reading-latest-version ... (32/37)
# ... pkg-data-error-reading-latest-version [EXPECTED FAIL]
# Message: Failed to retrieve version data for 'UNNAMED_NODE'.
# Starting pkg-data-no-download-url ... (33/37)
# ... pkg-data-no-download-url [EXPECTED FAIL]
# Message: Failed to download 'UNNAMED_NODE': No download url.
# Starting pkg-data-error-reading-donwload-url ... (34/37)
# ... pkg-data-error-reading-donwload-url [EXPECTED FAIL]
# Message: Failed to read download url for 'UNNAMED_NODE'.
# Starting pkg-data-no-version ... (35/37)
# ... pkg-data-no-version [EXPECTED FAIL]
# Message: Failed to download 'UNNAMED_NODE': No version found.
# Starting pkg-data-error-reading-version ... (36/37)
# ... pkg-data-error-reading-version [EXPECTED FAIL]
# Message: Failed to read version data for 'UNNAMED_NODE'.
# Starting pkg-data-invalid-version ... (37/37)
# ... pkg-data-invalid-version [EXPECTED FAIL]
# Message: 'abc' is not a valid version for 'UNNAMED_NODE'.
# Testing: fpm_test_backend
# Starting target-sort ... (1/9)
# ... target-sort [PASSED]
# Starting target-sort-skip-all ... (2/9)
# ... target-sort-skip-all [PASSED]
# Starting target-sort-rebuild-all ... (3/9)
# ... target-sort-rebuild-all [PASSED]
# Starting target-shared-sort ... (4/9)
# ... target-shared-sort [PASSED]
# Starting schedule-targets ... (5/9)
# ... schedule-targets [PASSED]
# Starting schedule-targets-empty ... (6/9)
# ... schedule-targets-empty [PASSED]
# Starting serialize-compile-commands ... (7/9)
# ... serialize-compile-commands [PASSED]
# Starting compile-commands-write ... (8/9)
# ... compile-commands-write [PASSED]
# Starting compile-commands-register-string ... (9/9)
# ... compile-commands-register-string [PASSED]
# Testing: fpm_installer
# Starting install-lib ... (1/9)
# ... install-lib [PASSED]
# Starting install-pkgconfig ... (2/9)
# ... install-pkgconfig [PASSED]
# Starting install-sitepackages ... (3/9)
# ... install-sitepackages [PASSED]
# Starting install-mod ... (4/9)
# ... install-mod [PASSED]
# Starting install-exe-unix ... (5/9)
# ... install-exe-unix [PASSED]
# Starting install-exe-win ... (6/9)
# ... install-exe-win [PASSED]
# Starting install-test-unix ... (7/9)
# ... install-test-unix [PASSED]
# Starting install-test-win ... (8/9)
# ... install-test-win [PASSED]
# Starting install-shared-lib-unix ... (9/9)
# ... install-shared-lib-unix [PASSED]
# Testing: fpm_versioning
# Starting fpm-version ... (1/12)
# ... fpm-version [PASSED]
# Starting valid-version ... (2/12)
# ... valid-version [PASSED]
# Starting valid-equals ... (3/12)
# ... valid-equals [PASSED]
# Starting valid-notequals ... (4/12)
# ... valid-notequals [PASSED]
# Starting valid-compare ... (5/12)
# ... valid-compare [PASSED]
# Starting valid-match ... (6/12)
# ... valid-match [PASSED]
# Starting valid-string ... (7/12)
# ... valid-string [PASSED]
# Starting invalid-empty ... (8/12)
# ... invalid-empty [EXPECTED FAIL]
# Message: Expected version number, but no characters are left
|
|^
# Starting invalid-version1 ... (9/12)
# ... invalid-version1 [EXPECTED FAIL]
# Message: Expected version number, but no characters are left
| 1.
|--^
# Starting invalid-version2 ... (10/12)
# ... invalid-version2 [EXPECTED FAIL]
# Message: Unexpected token found
| 1..1
|--^^
# Starting invalid-version3 ... (11/12)
# ... invalid-version3 [EXPECTED FAIL]
# Message: Invalid character in version number
| one
|-^
# Starting invalid-overflow ... (12/12)
# ... invalid-overflow [EXPECTED FAIL]
# Message: Too many subversions found
| 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0
|-------^
# Testing: fpm_settings
# Starting no-folder ... (1/21)
# ... no-folder [EXPECTED FAIL]
# Message: Folder not found: '/home/ondrej/repos/fpm/tmp'.
# Starting no-file ... (2/21)
+ mkdir -p tmp
# ... no-file [EXPECTED FAIL]
# Message: File not found: '/home/ondrej/repos/fpm/tmp/config.toml'.
# Starting empty-file ... (3/21)
+ rm -rf tmp
+ mkdir -p tmp
+ rm -rf tmp
# ... empty-file [PASSED]
# Starting default-config-settings ... (4/21)
# ... default-config-settings [PASSED]
# Starting error-reading-table ... (5/21)
+ mkdir -p tmp
+ rm -rf tmp
# ... error-reading-table [EXPECTED FAIL]
# Message: error: Missing key for table header
--> /home/ondrej/repos/fpm/tmp/config.toml:1:2
|
1 | [
| ^ unexpected newline
|
# Starting empty-registry-table ... (6/21)
# ... empty-registry-table [PASSED]
# Starting invalid-key ... (7/21)
# ... invalid-key [EXPECTED FAIL]
# Message: Key 'invalid_key' not allowed in the 'registry' table.
Valid keys:
path
url
cache_path
# Starting invalid-type ... (8/21)
# ... invalid-type [EXPECTED FAIL]
# Message: 'registry' has an invalid 'path' entry.
# Starting has-non-existent-path-to-registry ... (9/21)
# ... has-non-existent-path-to-registry [EXPECTED FAIL]
# Message: Cannot determine absolute path. Path 'nonexistent_path' does not exist.
# Starting has-existent-path-to-registry ... (10/21)
+ mkdir -p tmp
+ rm -rf tmp
# ... has-existent-path-to-registry [PASSED]
# Starting absolute-path-to-registry ... (11/21)
+ mkdir -p tmp
+ rm -rf tmp
# ... absolute-path-to-registry [PASSED]
# Starting relative-path-to-registry ... (12/21)
+ mkdir -p tmp/abc
+ rm -rf tmp
# ... relative-path-to-registry [PASSED]
# Starting relative-path-to-registry-file-read ... (13/21)
+ mkdir -p tmp/abc
+ rm -rf tmp
# ... relative-path-to-registry-file-read [PASSED]
# Starting canonical-path-to-registry ... (14/21)
+ mkdir -p tmp
+ rm -rf tmp
# ... canonical-path-to-registry [PASSED]
# Starting has-url-to-registry ... (15/21)
+ mkdir -p tmp
+ rm -rf tmp
# ... has-url-to-registry [PASSED]
# Starting has-both-path-and-url-to-registry ... (16/21)
+ mkdir -p tmp
+ rm -rf tmp
# ... has-both-path-and-url-to-registry [EXPECTED FAIL]
# Message: Do not provide both path and url to the registry.
# Starting has-both-path-and-cache-path ... (17/21)
+ mkdir -p tmp
+ rm -rf tmp
# ... has-both-path-and-cache-path [EXPECTED FAIL]
# Message: Do not provide both 'path' and 'cache_path'.
# Starting abs-cache-path-no-dir ... (18/21)
+ mkdir -p tmp
+ mkdir -p /home/ondrej/repos/fpm/tmp/cache
+ rm -rf tmp
# ... abs-cache-path-no-dir [PASSED]
# Starting abs-cache-path-has-dir ... (19/21)
+ mkdir -p tmp/cache
+ rm -rf tmp
# ... abs-cache-path-has-dir [PASSED]
# Starting rel-cache-path-no-dir ... (20/21)
+ mkdir -p tmp
+ mkdir -p /home/ondrej/repos/fpm/tmp/cache
+ rm -rf tmp
# ... rel-cache-path-no-dir [PASSED]
# Starting rel-cache-path-has-dir ... (21/21)
+ mkdir -p tmp/cache
+ rm -rf tmp
# ... rel-cache-path-has-dir [PASSED]
# Testing: fpm_os
# Starting empty-path ... (1/13)
# ... empty-path [EXPECTED FAIL]
# Message: Path cannot be empty
# Starting only-tilde ... (2/13)
# ... only-tilde [PASSED]
# Starting set-environment-variable ... (3/13)
# ... set-environment-variable [PASSED]
# Starting invalid-tilde-path ... (4/13)
# ... invalid-tilde-path [EXPECTED FAIL]
# Message: Wrong separator in path: '~a'
# Starting tilde-correct-separator ... (5/13)
# ... tilde-correct-separator [PASSED]
# Starting tilde-wrong-separator ... (6/13)
# ... tilde-wrong-separator [EXPECTED FAIL]
# Message: Wrong separator in path: '~\'
# Starting tilde-nonexistent-path ... (7/13)
# ... tilde-nonexistent-path [EXPECTED FAIL]
# Message: Path not found: '/home/ondrej/abcde'
# Starting abs-path-nonexisting ... (8/13)
# ... abs-path-nonexisting [EXPECTED FAIL]
# Message: Cannot determine absolute path. Path '/abcde' does not exist.
# Starting abs-path-root ... (9/13)
# ... abs-path-root [PASSED]
# Starting abs-path-home ... (10/13)
# ... abs-path-home [PASSED]
# Starting abs-path-cd-root ... (11/13)
# ... abs-path-cd-root [PASSED]
# Starting abs-path-cd-home ... (12/13)
# ... abs-path-cd-home [PASSED]
# Starting abs-path-cd-current ... (13/13)
# ... abs-path-cd-current [PASSED]
# Testing: fpm_compiler
# Starting check-fortran-source-runs ... (1/4)
# ... check-fortran-source-runs [PASSED]
# Starting tokenize-flags ... (2/4)
Tokens 1 : -I/path/to/include
Tokens 2 : -I/test
Tokens 3 : -I"/path/to/include with spaces"
Tokens 4 : -I"spaces here too"
Tokens 5 : -L/path/to/lib
Tokens 6 : -lmylib
Tokens 7 : -O2
Tokens 8 : -g
Tokens 9 : -Wall
# ... tokenize-flags [PASSED]
# Starting compile-commands-unix ... (3/4)
# ... compile-commands-unix [PASSED]
# Starting compile-commands-windows ... (4/4)
# ... compile-commands-windows [PASSED]
<ERROR> Execution for object " cli-test " returned exit code 1
<ERROR> *cmd_run*:stopping due to failed executions
STOP 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment