<commit_before>import qbs

CppApplication {
    Depends { name: "themodule" }
    files: ["main.cpp"]
    Group {
        cpp.defines: ["REQUIRED_FOR_FILE1", "BREAKS_FILE2"]

        // This group has no files, and that's okay.

        Group {
            files: ["other.cpp", "other.h"]
            Group {
                cpp.defines: outer.concat(["ALSO_REQUIRED_FOR_FILE1"])
                files: ["file1.cpp", "file1.h"]
            }
            Group {
                cpp.defines: ["REQUIRED_FOR_FILE2"]
                files: ["file2.cpp", "file2.h"]
            }
            Group {
                name: "disabled"
                condition: false
                Group {
                    name: "indirectly disabled"
                    condition: true
                    files: ["main2.cpp"]
                }
            }
        }
    }
}
<commit_msg>Fix nestedGroups() autotest on macOS<commit_after>import qbs

CppApplication {
    consoleApplication: true
    Depends { name: "themodule" }
    files: ["main.cpp"]
    Group {
        cpp.defines: ["REQUIRED_FOR_FILE1", "BREAKS_FILE2"]

        // This group has no files, and that's okay.

        Group {
            files: ["other.cpp", "other.h"]
            Group {
                cpp.defines: outer.concat(["ALSO_REQUIRED_FOR_FILE1"])
                files: ["file1.cpp", "file1.h"]
            }
            Group {
                cpp.defines: ["REQUIRED_FOR_FILE2"]
                files: ["file2.cpp", "file2.h"]
            }
            Group {
                name: "disabled"
                condition: false
                Group {
                    name: "indirectly disabled"
                    condition: true
                    files: ["main2.cpp"]
                }
            }
        }
    }
}

{'fraction_non_alphanumeric': 0.11401557285873193, 'fraction_numerical': 0.010011123470522803, 'mean_word_length': 1.1965811965811965, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '13647', 'n_tokens_mistral': 536, 'n_tokens_neox': 507, 'n_words': 104}