We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried installing and running coco on itself and this happened:
tom@mai:/tmp/coco$ nimble install coco Downloading https://github.com/samuelroy/coco using git Verifying dependencies for [email protected] Info: Dependency on cligen@any version already satisfied Verifying dependencies for [email protected] Info: Dependency on glob@any version already satisfied Verifying dependencies for [email protected] Info: Dependency on regex@>= 0.7.4 already satisfied Verifying dependencies for [email protected] Info: Dependency on unicodedb@>= 0.7.2 already satisfied Verifying dependencies for [email protected] Info: Dependency on unicodeplus@>= 0.5.0 already satisfied Verifying dependencies for [email protected] Info: Dependency on unicodedb@>= 0.7 already satisfied Verifying dependencies for [email protected] Installing [email protected] Building coco/coco using c backend Prompt: [email protected] already exists. Overwrite? [y/N] Answer: y Success: coco installed successfully. tom@mai:/tmp/coco$ coco --target "tests/**/*.nim" --cov '!tests' --compiler="--hints:off" CC: stdlib_assertions.nim CC: stdlib_io.nim CC: stdlib_system.nim CC: stdlib_sugar.nim CC: stdlib_parseutils.nim CC: stdlib_unicode.nim CC: stdlib_strutils.nim CC: stdlib_times.nim CC: stdlib_os.nim CC: stdlib_strformat.nim CC: ../coco.nim CC: foo.nim CC: stdlib_assertions.nim CC: stdlib_io.nim CC: stdlib_system.nim CC: stdlib_parseutils.nim CC: stdlib_math.nim CC: stdlib_algorithm.nim CC: stdlib_unicode.nim CC: stdlib_strutils.nim CC: stdlib_streams.nim CC: stdlib_posix.nim CC: stdlib_times.nim CC: stdlib_hashes.nim CC: stdlib_sets.nim CC: stdlib_pathnorm.nim CC: stdlib_os.nim CC: stdlib_strformat.nim CC: stdlib_tables.nim CC: stdlib_terminal.nim CC: stdlib_unittest.nim CC: stdlib_sugar.nim CC: ../../../home/tom/.nimble/pkgs/unicodedb-0.7.2/unicodedb/properties_data.nim CC: ../../../home/tom/.nimble/pkgs/unicodedb-0.7.2/unicodedb/properties.nim CC: ../../../home/tom/.nimble/pkgs/unicodedb-0.7.2/unicodedb/types_data.nim CC: ../../../home/tom/.nimble/pkgs/unicodedb-0.7.2/unicodedb/types.nim CC: ../../../home/tom/.nimble/pkgs/unicodeplus-0.5.0/unicodeplus.nim CC: ../../../home/tom/.nimble/pkgs/regex-0.12.0/regex.nim CC: ../../../home/tom/.nimble/pkgs/glob-0.9.0/glob/regexer.nim CC: ../../../home/tom/.nimble/pkgs/glob-0.9.0/glob.nim CC: ../coco.nim CC: compilation.nim CC: stdlib_assertions.nim CC: stdlib_io.nim CC: stdlib_system.nim CC: stdlib_parseutils.nim CC: stdlib_math.nim CC: stdlib_unicode.nim CC: stdlib_strutils.nim CC: stdlib_streams.nim CC: stdlib_times.nim CC: stdlib_hashes.nim CC: stdlib_sets.nim CC: stdlib_pathnorm.nim CC: stdlib_os.nim CC: stdlib_strformat.nim CC: stdlib_terminal.nim CC: stdlib_unittest.nim CC: stdlib_sugar.nim CC: ../../coco.nim CC: cleanup_past_report.nim CC: stdlib_assertions.nim CC: stdlib_io.nim CC: stdlib_system.nim CC: stdlib_parseutils.nim CC: stdlib_math.nim CC: stdlib_algorithm.nim CC: stdlib_unicode.nim CC: stdlib_strutils.nim CC: stdlib_streams.nim CC: stdlib_posix.nim CC: stdlib_times.nim CC: stdlib_hashes.nim CC: stdlib_sets.nim CC: stdlib_pathnorm.nim CC: stdlib_os.nim CC: stdlib_strformat.nim CC: stdlib_tables.nim CC: stdlib_terminal.nim CC: stdlib_unittest.nim CC: stdlib_sugar.nim CC: ../../../../home/tom/.nimble/pkgs/unicodedb-0.7.2/unicodedb/properties_data.nim CC: ../../../../home/tom/.nimble/pkgs/unicodedb-0.7.2/unicodedb/properties.nim CC: ../../../../home/tom/.nimble/pkgs/unicodedb-0.7.2/unicodedb/types_data.nim CC: ../../../../home/tom/.nimble/pkgs/unicodedb-0.7.2/unicodedb/types.nim CC: ../../../../home/tom/.nimble/pkgs/unicodeplus-0.5.0/unicodeplus.nim CC: ../../../../home/tom/.nimble/pkgs/regex-0.12.0/regex.nim CC: ../../../../home/tom/.nimble/pkgs/glob-0.9.0/glob/regexer.nim CC: ../../../../home/tom/.nimble/pkgs/glob-0.9.0/glob.nim CC: ../../coco.nim CC: generate_coverage.nim bar/foo.nim_42_cov [Suite] Compiles Nim files in coverage mode [OK] Get cache folder from filename CC: stdlib_assertions.nim CC: stdlib_io.nim CC: stdlib_system.nim CC: stdlib_sugar.nim CC: stdlib_parseutils.nim CC: stdlib_unicode.nim CC: stdlib_strutils.nim CC: stdlib_times.nim CC: stdlib_os.nim CC: stdlib_strformat.nim CC: ../coco.nim CC: foo.nim /tmp/coco/tests/compilation.nim(25, 38): Check failed: existsFile(base_filename) == true existsFile(base_filename) was false true was true /tmp/coco/tests/compilation.nim(26, 50): Check failed: existsFile(fmt"{base_filename}.gcno") == true existsFile(fmt"{base_filename}.gcno") was false true was true [FAILED] Each compiled file should have its own folder in nimcache CC: stdlib_assertions.nim CC: stdlib_io.nim CC: stdlib_system.nim CC: stdlib_sugar.nim CC: stdlib_parseutils.nim CC: stdlib_unicode.nim CC: stdlib_strutils.nim CC: stdlib_times.nim CC: stdlib_os.nim CC: stdlib_strformat.nim CC: ../coco.nim CC: foo.nim /tmp/coco/tests/compilation.nim(34, 38): Check failed: existsFile(base_filename) == true existsFile(base_filename) was false true was true /tmp/coco/tests/compilation.nim(35, 50): Check failed: existsFile(fmt"{base_filename}.gcno") == true existsFile(fmt"{base_filename}.gcno") was false true was true [FAILED] One should be able to pass parameters to the compiler bar/foo.nim_42_cov /tmp/coco/tests/compilation.nim(41, 50): Check failed: existsFile(fmt"{base_filename}.gcda") == true existsFile(fmt"{base_filename}.gcda") was false true was true [FAILED] Running a compiled file in coverage mode should generate .gdca files /home/tom/.choosenim/toolchains/nim-0.20.0/lib/system/fatal.nim(39) sysFatal Error: unhandled exception: /tmp/nimble_29001/githubcom_samuelroycoco/coco.nim(16, 14) `execShellCmd(command) == 0` command failed: ./tests/compilation [AssertionError]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried installing and running coco on itself and this happened:
The text was updated successfully, but these errors were encountered: