Skip to content

unit-tests stuck on ascii #382

@OPNA2608

Description

@OPNA2608

On Linux, I'm running roughly the following inside of a WIP package script:

# fetch bootstrapped 1.09.0 tarball, unpack, enter, apply patches

# build
make bootstrap -j${cores}
make FBC="${PWD}/bin/fbc -i ${PWD}/inc" -j${buildCores}

# test (ignoring other test suites for this example)
make unit-tests UNITTEST_RUN_ARGS=--verbose -j${testCores}

# install
make install prefix=/bla/blub

This works fine until make unit-tests. It builds the tests and starts running them, but it gets stuck on:

  fbc_tests.udt_wstring_.midstmt
    ascii

After letting it sit on this for more than an hour, it never advanced further. Here is the full build log.

I'm building against NixOS unstable. I tried to reproduce this on Ubuntu 22.04 interactively but failed. Installing Nix on Ubuntu 22.04 and trying to build the package with unit-tests enabled also gets stuck.

git clone --depth 1 --branch init/fbc https://github.com/OPNA2608/nixpkgs
cd nixpkgs
vim pkgs/development/compilers/fbc/default.nix
# comment/uncomment the checkTarget lines, uncomment preCheck, comment out postCheck
nix-build . -A fbc --cores 4

Please let me know if there's anything else I can do for you to debug this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions