You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Akshay Dayal (Jira)" <ji...@apache.org> on 2023/06/18 00:40:00 UTC

[jira] [Updated] (CALCITE-5786) QuidemTest and DiffRepository write output to build/resources/test causing incremental build issues

     [ https://issues.apache.org/jira/browse/CALCITE-5786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akshay Dayal updated CALCITE-5786:
----------------------------------
    Attachment: Screenshot 2023-06-17 at 1.01.29 AM.png

> QuidemTest and DiffRepository write output to build/resources/test causing incremental build issues
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-5786
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5786
>             Project: Calcite
>          Issue Type: Improvement
>          Components: build, tests
>            Reporter: Akshay Dayal
>            Priority: Minor
>         Attachments: Screenshot 2023-06-17 at 1.01.29 AM.png
>
>
> The _test_ tasks treat _build/resources/test_ as an input, so if there are changes made to the directory the _test_ tasks are considered no longer UP-TO-DATE.
> Currently QuidemTest and DiffRepository, which are used by tests, write to this directory. DiffRepository writes test results to be compared with expected results. QuidemTest creates some sql files which are used during testing. This causes issues with incremental build support for the _test_ tasks. I'm attaching screenshots from a build scan to show this.
> Neither of these need to be written to the _build/resources/test_ directory, they can be put somewhere else in the _build_ directory and therefore not cause issues with incremental build support.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)